1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Moved context_processors from django.core to django.template.

This commit is contained in:
Aymeric Augustin
2014-12-02 23:23:51 +01:00
parent c599f233b1
commit 92e8f1f302
20 changed files with 152 additions and 134 deletions

View File

@@ -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):