mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Moved context_processors from django.core to django.template.
This commit is contained in:
parent
c599f233b1
commit
92e8f1f302
20 changed files with 152 additions and 134 deletions
|
|
@ -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',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue