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:
@@ -4,7 +4,7 @@ from django.test import TestCase, override_settings
|
||||
|
||||
|
||||
@override_settings(
|
||||
TEMPLATE_CONTEXT_PROCESSORS=('django.core.context_processors.static',),
|
||||
TEMPLATE_CONTEXT_PROCESSORS=('django.template.context_processors.static',),
|
||||
STATIC_URL='/path/to/static/media/',
|
||||
ROOT_URLCONF='shortcuts.urls',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user