diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-09 19:20:39 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-11 11:47:58 -0500 |
| commit | 36bf6ec9eb8a3ef4e24d3a6374780603f5bbdf97 (patch) | |
| tree | aa8433e22b89b76e54d985ce601d03613d0564c3 /tests/flatpages_tests/settings.py | |
| parent | a0553d1a7cb4f5ecca90650ef9ebad4c44cf6b43 (diff) | |
[1.8.x] Moved contrib.flatpages tests out of contrib.
Backport of d3a725054fa260e84c788b240fd03cbd0ccc1151 from master
Diffstat (limited to 'tests/flatpages_tests/settings.py')
| -rw-r--r-- | tests/flatpages_tests/settings.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/flatpages_tests/settings.py b/tests/flatpages_tests/settings.py new file mode 100644 index 0000000000..ad888f9d95 --- /dev/null +++ b/tests/flatpages_tests/settings.py @@ -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', + ), + }, +}] |
