[Fixed]-PyCharm: How to switch to regular HTML comments (Ctrl+Slash) in Django

42👍

File | Settings | Python Template Languages, change “Template language” to None.

👤yole

5👍

If you come across this and have a later version of Pycharm, you can find the setting by opening PyCharm | Preferences or ⌘,. Then Languages & Frameworks | Python Template Languages. There you can set the Template language to None for HTML Template file types.

enter image description here

Leave a comment