Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/template_backends/test_django.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed support for passing a context to a generic ↵Tim Graham2015-09-241-20/+1
| | | | | | Template.render(). Per deprecation timeline; refs a3e783fe11dd25bbf84bfb6201186566ed473506.
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-2/+2
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #17085, #24783 -- Refactored template library ↵Preston Timmons2015-05-211-1/+77
| | | | | | | | registration. * Converted the ``libraries`` and ``builtins`` globals of ``django.template.base`` into properties of the Engine class. * Added a public API for explicit registration of libraries and builtins.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+3
|
* Deprecated passing a Context to a generic Template.render.Aymeric Augustin2015-01-121-1/+20
| | | | | | | | | | | A deprecation path is required because the return type of django.template.loader.get_template changed during the multiple template engines refactor. test_csrf_token_in_404 was incorrect: it tested the case when the hardcoded template was rendered, and that template doesn't depend on the CSRF token. This commit makes it test the case when a custom template is rendered.
* Made context take priority over context processors.Aymeric Augustin2015-01-061-0/+25
| | | | | | | | | This is the expected behavior, but given RequestContext's tortuous implementation, a straightforward use of its API results in the opposite. This commits fixes a regression that must have happened at different points in the multiple templates engine refactor for different features.
* Added basic tests for template backends.Aymeric Augustin2014-12-281-0/+9