1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #24694 -- Added support for context_processors to Jinja2 backend.

This commit is contained in:
Berker Peksag
2016-06-27 16:56:21 +03:00
committed by Tim Graham
parent 222e1334bf
commit 52a991d976
4 changed files with 50 additions and 7 deletions

View File

@@ -220,6 +220,10 @@ Templates
* :meth:`~django.utils.safestring.mark_safe` can now be used as a decorator.
* The :class:`~django.template.backends.jinja2.Jinja2` template backend now
supports context processors by setting the ``'context_processors'`` option in
:setting:`OPTIONS <TEMPLATES-OPTIONS>`.
Tests
~~~~~