My PyCharm is using Django template-style comments {# #} when editing HTML files. Is there any way to change it to regular HTML comments? I don't use Django templates, and I'm tired of typing comments by hand.
To comment out a block of code in a Django template, use the {% comment %} and {% endcomment %} tags and pass the code to not render between the tags.
File | Settings | Python Template Languages, change "Template language" to None.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With