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


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



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