zulip/zproject/jinja2
Umair Khan c25e9ad193 Django 1.11: Template now accepts backend in __init__.
This makes our `zproject.jinja2.backend.Template` compatible with
Jinja2. After this change we don't need to override __init__ function
in Template class.

The only reason we now need to create our own Template class is that
we need to send template_rendered signals.

We need our own Jinja2 class because we need to maintain backward
compatibility with Django 1.10 and we need inject `debug` parameter.
2017-06-13 15:04:04 -07:00
..
__init__.py jinja2: No need for custom render_to_response. 2017-03-17 13:57:34 -07:00
backends.py Django 1.11: Template now accepts backend in __init__. 2017-06-13 15:04:04 -07:00
compressors.py mypy: Convert several directories to use typing.Text. 2016-12-07 20:51:05 -08:00