2014-12-17 22:10:57 +01:00
|
|
|
import os
|
|
|
|
|
2015-11-07 16:12:37 +01:00
|
|
|
AUTH_MIDDLEWARE = [
|
2014-12-17 22:10:57 +01:00
|
|
|
"django.contrib.sessions.middleware.SessionMiddleware",
|
|
|
|
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
2015-01-21 17:55:57 +01:00
|
|
|
]
|
2014-12-17 22:10:57 +01:00
|
|
|
|
|
|
|
AUTH_TEMPLATES = [
|
|
|
|
{
|
|
|
|
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
2017-01-20 14:01:02 +01:00
|
|
|
"DIRS": [os.path.join(os.path.dirname(__file__), "templates")],
|
2014-12-17 22:10:57 +01:00
|
|
|
"APP_DIRS": True,
|
|
|
|
"OPTIONS": {
|
2015-01-21 17:55:57 +01:00
|
|
|
"context_processors": [
|
2020-05-14 10:27:35 +02:00
|
|
|
"django.template.context_processors.request",
|
2014-12-17 22:10:57 +01:00
|
|
|
"django.contrib.auth.context_processors.auth",
|
|
|
|
"django.contrib.messages.context_processors.messages",
|
2015-01-21 17:55:57 +01:00
|
|
|
],
|
2014-12-17 22:10:57 +01:00
|
|
|
},
|
|
|
|
}
|
|
|
|
]
|