Add djhtml (https://github.com/rtts/djhtml), for auto-reformatting of the Django
templates via "djlint --profile django --reformat". It still has some bugs and issues, esp. on complex templates and with regards to whitespace after links, but those are manageable, and the benefits of having consistently-formatted templates IMO outweigh them. Commit ready for merge. - Legacy-Id: 19834
This commit is contained in:
parent
6ca6c35186
commit
f185da354a
|
@ -72,4 +72,5 @@ Unidecode>=0.4.18,<1.2.0
|
|||
#wsgiref>=0.1.2
|
||||
xml2rfc>=2.35.0
|
||||
xym>=0.4.4,!=0.4.7,<1.0
|
||||
#zxcvbn-python>=4.4.14 # Not needed until we do back-end password entropy validation
|
||||
#zxcvbn-python>=4.4.14 # Not needed until we do back-end password entropy validation
|
||||
djhtml>=1.4.11 # To auto-indent templates via "djlint --profile django --reformat"
|
Loading…
Reference in a new issue