Search code examples
pythonjinja2pycharm

Does PyCharm support Jinja2?


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?


Solution

  • 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.