Template syntax is not highlighted in Django project

Hi!

I'm working on Django project. PyCharm detect,  that Django support is needed, so now I can switch between views and  templates with icon in top-left corner, have extra possibilities in  settings.py etc. Only .html behaviour differs from expected - Django  syntax not highlighted. I checked PyCharm settings and have seen, that  Django supports is on and Django syntax is set correctly. Any ideas?

Thanks,

  Boris.

2 comments
Comment actions Permalink

Please make sure that the template language is set to Django under Settings | Template Languages.

0
Comment actions Permalink

Thanks, it works!

0

Please sign in to leave a comment.