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