1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/template_backends
Aymeric Augustin a3e783fe11 Deprecated passing a Context to a generic Template.render.
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.
2015-01-12 21:01:34 +01:00
..
forbidden/template_backends
jinja2/template_backends Rewrapped TemplateSyntaxError in Jinja2 backend. 2015-01-12 21:01:34 +01:00
template_strings/template_backends
templates/template_backends Rewrapped TemplateSyntaxError in Jinja2 backend. 2015-01-12 21:01:34 +01:00
__init__.py
test_django.py Deprecated passing a Context to a generic Template.render. 2015-01-12 21:01:34 +01:00
test_dummy.py Rewrapped TemplateSyntaxError in Jinja2 backend. 2015-01-12 21:01:34 +01:00
test_jinja2.py