We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2dd7691 + 7db7d33 commit eeca0feCopy full SHA for eeca0fe
docs/api.rst
@@ -275,7 +275,7 @@ in ``'.html'``, ``'.htm'`` and ``'.xml'`` and disabling it by default
275
for all other extensions. You can use the :func:`~jinja2.select_autoescape`
276
function for this::
277
278
- from jinja2 import Environment, select_autoescape
+ from jinja2 import Environment, PackageLoader, select_autoescape
279
env = Environment(autoescape=select_autoescape(['html', 'htm', 'xml']),
280
loader=PackageLoader('mypackage'))
281
0 commit comments