mirror of https://github.com/django/django.git
a3e783fe11
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. |
||
---|---|---|
.. | ||
eggs | ||
filter_tests | ||
other_templates | ||
syntax_tests | ||
templates | ||
templatetags | ||
__init__.py | ||
alternate_urls.py | ||
test_callables.py | ||
test_context.py | ||
test_custom.py | ||
test_loaders.py | ||
test_nodelist.py | ||
test_parser.py | ||
test_response.py | ||
test_smartif.py | ||
test_unicode.py | ||
tests.py | ||
urls.py | ||
utils.py | ||
views.py |