Does PyCharm support Jinja2?(PyCharm 是否支持 Jinja2?)

本文介绍了PyCharm 是否支持 Jinja2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个瓶子项目使用 Jinja2.PyCharm 不会自动识别它,并将此类行显示为错误.有没有办法让 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?

推荐答案

在专业版中,这些模板语言:

In the pro edition, these template languages:

  • Jinja2
  • 姜戈
  • 真子

支持.您可以在项目的设置中配置模板语言:

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

社区版可能缺少某些模板语言.

The community edition may lack certain template languages.

这篇关于PyCharm 是否支持 Jinja2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!