Does PyCharm support Jinja2?

k0pernikus picture k0pernikus · Apr 1, 2013 · Viewed 35k times · Source

A bottle project of mine uses Jinja2. PyCharm does not automatically recognize it and shows such lines as errors. Is there a way to make Jinja2 work?

Answer

k0pernikus picture k0pernikus · Apr 1, 2013

In the pro edition, these template languages:

  • Jinja2
  • Django
  • Mako

are supported. You can configure the template language in the project's settings:

In Python Template Settings the template langauge is set to Jinja2

The community edition may lack certain template languages.