summaryrefslogtreecommitdiff
path: root/django/template/backends/jinja2.py
AgeCommit message (Collapse)Author
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
2023-01-06Fixed #34220 -- Moved csrf_input_lazy, csrf_token_lazy imports to the toplevel.rajdesai24
This prevents random errors with partially initialized modules.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-27Used Path.read_text() in jinja2.get_exception_info().Mariusz Felisiak
2019-11-27Fixed #30425 -- Handled jinja2.TemplateSyntaxError when rendering a template.Hasan Ramezani
Jinja raises jinja2.TemplateSyntaxError in render() not in get_template() when it's in an included template.
2017-02-17Refs #27656 -- Updated django.template/tag docstring verbs according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-22Refs #23919 -- Replaced six.reraise by raiseClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-27Fixed #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-06-28Fixed #24694 -- Added support for context_processors to Jinja2 backend.Berker Peksag
2016-01-05Replaced dict.setdefault() usage to avoid unnecessary object instantiations.Benjamin Bach
2015-05-06Fixed #24119, #24120 -- Formalized debug integration for template backends.Preston Timmons
2015-04-01Fixed #24538 -- Allowed self in Jinja contextTim Heap
Rendering a Jinja template with self in the context threw an error. While self is a reserved variable in Jinja, including self in the context is not an error, so Django should respect that.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-12Rewrapped TemplateSyntaxError in Jinja2 backend.Aymeric Augustin
Changed import style to avoid confusion between Django's and Jinja2's APIs.
2014-12-28Added Django template backend.Aymeric Augustin
2014-12-28Added jinja2 template backend.Aymeric Augustin