mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
[1.8.x] Moved contrib.flatpages tests out of contrib.
Backport of d3a725054f from master
This commit is contained in:
11
tests/flatpages_tests/settings.py
Normal file
11
tests/flatpages_tests/settings.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import os
|
||||
|
||||
FLATPAGES_TEMPLATES = [{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [os.path.join(os.path.dirname(__file__), 'templates')],
|
||||
'OPTIONS': {
|
||||
'context_processors': (
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
),
|
||||
},
|
||||
}]
|
||||
Reference in New Issue
Block a user