Over-ride {# #} comment blocks for html with django project
I am using django with angular, and don't currently use the template language within Django. Anyone know how to override the {# #} style comment block in PyCharm to be the normal <!– –> for html?
I'd rather not lose all the other django functionality.
Thanks.
I'd rather not lose all the other django functionality.
Thanks.
2 条评论
排序方式
日期
投票数
If you're not using Django templates in your project, you can set the template language to None in Settings | Template Languages. This does not affect other Django functionality such as code insight for models.
Excellent, thanks Dmitry.
请先登录再写评论。