| 1 |
""" |
| 2 |
Django settings for multi_param project. |
| 3 |
|
| 4 |
Generated by 'django-admin startproject' using Django 3.1.13. |
| 5 |
|
| 6 |
For more information on this file, see |
| 7 |
https://docs.djangoproject.com/en/3.1/topics/settings/ |
| 8 |
|
| 9 |
For the full list of settings and their values, see |
| 10 |
https://docs.djangoproject.com/en/3.1/ref/settings/ |
| 11 |
""" |
| 12 |
|
| 13 |
from pathlib import Path |
| 14 |
|
| 15 |
|
| 16 |
BASE_DIR = Path(__file__).resolve().parent.parent |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
SECRET_KEY = "NOT-SUPER-SECRET-DO-NOT-USE-ME" |
| 24 |
|
| 25 |
|
| 26 |
DEBUG = True |
| 27 |
|
| 28 |
ALLOWED_HOSTS = [] |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
INSTALLED_APPS = [ |
| 33 |
"django.contrib.auth", |
| 34 |
"django.contrib.contenttypes", |
| 35 |
"django.contrib.sessions", |
| 36 |
"django.contrib.messages", |
| 37 |
"django.contrib.staticfiles", |
| 38 |
] |
| 39 |
|
| 40 |
MIDDLEWARE = [ |
| 41 |
"django.middleware.security.SecurityMiddleware", |
| 42 |
"django.contrib.sessions.middleware.SessionMiddleware", |
| 43 |
"django.middleware.common.CommonMiddleware", |
| 44 |
"django.middleware.csrf.CsrfViewMiddleware", |
| 45 |
"django.contrib.auth.middleware.AuthenticationMiddleware", |
| 46 |
"django.contrib.messages.middleware.MessageMiddleware", |
| 47 |
"django.middleware.clickjacking.XFrameOptionsMiddleware", |
| 48 |
] |
| 49 |
|
| 50 |
ROOT_URLCONF = "tests.demo_project.multi_param.urls" |
| 51 |
|
| 52 |
TEMPLATES = [ |
| 53 |
{ |
| 54 |
"BACKEND": "django.template.backends.django.DjangoTemplates", |
| 55 |
"DIRS": [], |
| 56 |
"APP_DIRS": True, |
| 57 |
"OPTIONS": { |
| 58 |
"context_processors": [ |
| 59 |
"django.template.context_processors.debug", |
| 60 |
"django.template.context_processors.request", |
| 61 |
"django.contrib.auth.context_processors.auth", |
| 62 |
"django.contrib.messages.context_processors.messages", |
| 63 |
], |
| 64 |
}, |
| 65 |
}, |
| 66 |
] |
| 67 |
|
| 68 |
WSGI_APPLICATION = "tests.demo_project.multi_param.wsgi.application" |
| 69 |
DATABASES = {"default": {}} |
| 70 |
AUTH_PASSWORD_VALIDATORS = [] |
| 71 |
|
| 72 |
LANGUAGE_CODE = "en-us" |
| 73 |
TIME_ZONE = "UTC" |
| 74 |
USE_I18N = True |
| 75 |
USE_TZ = False |
| 76 |
STATIC_URL = "/static/" |