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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user