Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 1
    Brilliant, I knew it would be something simple. Thanks very much. Commented Jan 16, 2012 at 13:49
  • 4
    As of PyCharm 3.x, it's in File » Settings » Python Template Languages. I used this same setting to activate syntax highlight in .js files that I'm using as templates. Commented Jan 13, 2014 at 22:49
  • 1
    Using the green + icon, you can add filetypes too. This helped me with Django templates used for plain-text emails. Commented Aug 15, 2014 at 15:28
  • In OS X, PyCharm >> Preferences >> Languages & Frameworks >> Python Template Languages Commented Jul 23, 2016 at 14:04
  • 3
    This feature does not exist in the community edition. stackoverflow.com/questions/41079540/… Commented May 4, 2018 at 14:51