mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
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.