summaryrefslogtreecommitdiff
path: root/django/template/backends/jinja2.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-1/+0
| | | | | | | | 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
* Fixed #34220 -- Moved csrf_input_lazy, csrf_token_lazy imports to the toplevel.rajdesai242023-01-061-2/+1
| | | This prevents random errors with partially initialized modules.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-27/+30
|
* Used Path.read_text() in jinja2.get_exception_info().Mariusz Felisiak2021-09-271-2/+1
|
* Fixed #30425 -- Handled jinja2.TemplateSyntaxError when rendering a template.Hasan Ramezani2019-11-271-7/+24
| | | | | Jinja raises jinja2.TemplateSyntaxError in render() not in get_template() when it's in an included template.
* Refs #27656 -- Updated django.template/tag docstring verbs according to PEP 257.Anton Samarchyan2017-02-171-1/+1
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-1/+1
|
* Refs #23919 -- Replaced six.reraise by raiseClaude Paroz2017-01-221-9/+2
|
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-2/+2
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-3/+0
|
* Fixed #15667 -- Added template-based widget rendering.Preston Timmons2016-12-271-1/+1
| | | | Thanks Carl Meyer and Tim Graham for contributing to the patch.
* Fixed #24694 -- Added support for context_processors to Jinja2 backend.Berker Peksag2016-06-281-3/+13
|
* Replaced dict.setdefault() usage to avoid unnecessary object instantiations.Benjamin Bach2016-01-051-1/+2
|
* Fixed #24119, #24120 -- Formalized debug integration for template backends.Preston Timmons2015-05-061-4/+48
|
* Fixed #24538 -- Allowed self in Jinja contextTim Heap2015-04-011-1/+1
| | | | | | 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.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+2
|
* Rewrapped TemplateSyntaxError in Jinja2 backend.Aymeric Augustin2015-01-121-6/+8
| | | | | Changed import style to avoid confusion between Django's and Jinja2's APIs.
* Added Django template backend.Aymeric Augustin2014-12-281-0/+3
|
* Added jinja2 template backend.Aymeric Augustin2014-12-281-0/+58