django1/tests/flatpages_tests/settings.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
307 B
Python
Raw Normal View History

2014-12-18 05:51:42 +08:00
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",),
},
}
]