PyCharm: Forcing Django Template Syntax Highligting

Question:

I’ve just installed PyCharm, and have opened an existing project with multiple apps.
When I open django templates, they are highlighted as if plain HTML, i.e. {% block %} elements and {{variable}} references are not treated specially.

Is there any way I can force it to use the django template syntax highlighter for these files? Or am I doing something wrong?

The project is configured as a django project.

Asked By: andre_b

||

Answers:

File » Settings » Template language, do you have Template language setting set to django?

Answered By: demalexx
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.