diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-02 23:23:51 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-28 17:00:07 +0100 |
| commit | 92e8f1f30223d95c0e71ee6ace7bdc476c81abbd (patch) | |
| tree | 19139953edec69f849b0f1ea32821fdc4f38c491 /tests/cache | |
| parent | c599f233b17d3890df8f648f8ead25141c21495c (diff) | |
Moved context_processors from django.core to django.template.
Diffstat (limited to 'tests/cache')
| -rw-r--r-- | tests/cache/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py index 9762620afc..be4d52cb05 100644 --- a/tests/cache/tests.py +++ b/tests/cache/tests.py @@ -20,7 +20,6 @@ from django.core import signals from django.core.cache import (cache, caches, CacheKeyWarning, InvalidCacheBackendError, DEFAULT_CACHE_ALIAS, get_cache, close_caches) -from django.core.context_processors import csrf from django.db import connection, connections, transaction from django.core.cache.utils import make_template_fragment_key from django.http import HttpResponse, StreamingHttpResponse @@ -28,6 +27,7 @@ from django.middleware.cache import (FetchFromCacheMiddleware, UpdateCacheMiddleware, CacheMiddleware) from django.middleware.csrf import CsrfViewMiddleware from django.template import Template +from django.template.context_processors import csrf from django.template.response import TemplateResponse from django.test import TestCase, TransactionTestCase, RequestFactory, override_settings from django.test.signals import setting_changed |
