summaryrefslogtreecommitdiff
path: root/tests/context_processors
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-12-02 23:23:51 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-12-28 17:00:07 +0100
commit92e8f1f30223d95c0e71ee6ace7bdc476c81abbd (patch)
tree19139953edec69f849b0f1ea32821fdc4f38c491 /tests/context_processors
parentc599f233b17d3890df8f648f8ead25141c21495c (diff)
downloaddjango-92e8f1f30223d95c0e71ee6ace7bdc476c81abbd.tar.gz
Moved context_processors from django.core to django.template.
Diffstat (limited to 'tests/context_processors')
-rw-r--r--tests/context_processors/tests.py4
-rw-r--r--tests/context_processors/views.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/context_processors/tests.py b/tests/context_processors/tests.py
index 44f36a4267..8d58f5c695 100644
--- a/tests/context_processors/tests.py
+++ b/tests/context_processors/tests.py
@@ -7,7 +7,7 @@ from django.test import TestCase, override_settings
@override_settings(ROOT_URLCONF='context_processors.urls')
class RequestContextProcessorTests(TestCase):
"""
- Tests for the ``django.core.context_processors.request`` processor.
+ Tests for the ``django.template.context_processors.request`` processor.
"""
def test_request_attributes(self):
@@ -38,7 +38,7 @@ class RequestContextProcessorTests(TestCase):
@override_settings(ROOT_URLCONF='context_processors.urls', DEBUG=True, INTERNAL_IPS=('127.0.0.1',))
class DebugContextProcessorTests(TestCase):
"""
- Tests for the ``django.core.context_processors.debug`` processor.
+ Tests for the ``django.template.context_processors.debug`` processor.
"""
def test_debug(self):
diff --git a/tests/context_processors/views.py b/tests/context_processors/views.py
index 077d722750..913877f20a 100644
--- a/tests/context_processors/views.py
+++ b/tests/context_processors/views.py
@@ -1,5 +1,5 @@
-from django.core import context_processors
from django.shortcuts import render_to_response
+from django.template import context_processors
from django.template.context import RequestContext
from .models import DebugObject