|
|
@ -1,13 +1,13 @@ |
|
|
""" |
|
|
""" |
|
|
Django settings for this project. |
|
|
Django settings for this project. |
|
|
|
|
|
|
|
|
Generated by 'django-admin startproject' using Django 1.11.6. |
|
|
|
|
|
|
|
|
Generated by 'django-admin startproject' using Django 2.2.12. |
|
|
|
|
|
|
|
|
For more information on this file, see |
|
|
For more information on this file, see |
|
|
https://docs.djangoproject.com/en/1.11/topics/settings/ |
|
|
|
|
|
|
|
|
https://docs.djangoproject.com/en/2.2/topics/settings/ |
|
|
|
|
|
|
|
|
For the full list of settings and their values, see |
|
|
For the full list of settings and their values, see |
|
|
https://docs.djangoproject.com/en/1.11/ref/settings/ |
|
|
|
|
|
|
|
|
https://docs.djangoproject.com/en/2.2/ref/settings/ |
|
|
""" |
|
|
""" |
|
|
|
|
|
|
|
|
import os |
|
|
import os |
|
|
@ -17,7 +17,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Quick-start development settings - unsuitable for production |
|
|
# Quick-start development settings - unsuitable for production |
|
|
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/ |
|
|
|
|
|
|
|
|
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/ |
|
|
|
|
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret! |
|
|
# SECURITY WARNING: keep the secret key used in production secret! |
|
|
# The SECRET_KEY is provided via an environment variable in OpenShift |
|
|
# The SECRET_KEY is provided via an environment variable in OpenShift |
|
|
@ -76,11 +76,11 @@ TEMPLATES = [ |
|
|
}, |
|
|
}, |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
WSGI_APPLICATION = 'wsgi.application' |
|
|
|
|
|
|
|
|
WSGI_APPLICATION = 'project.wsgi.application' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Database |
|
|
# Database |
|
|
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases |
|
|
|
|
|
|
|
|
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases |
|
|
|
|
|
|
|
|
from . import database |
|
|
from . import database |
|
|
|
|
|
|
|
|
@ -90,7 +90,7 @@ DATABASES = { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Password validation |
|
|
# Password validation |
|
|
# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators |
|
|
|
|
|
|
|
|
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators |
|
|
|
|
|
|
|
|
AUTH_PASSWORD_VALIDATORS = [ |
|
|
AUTH_PASSWORD_VALIDATORS = [ |
|
|
{ |
|
|
{ |
|
|
@ -109,7 +109,7 @@ AUTH_PASSWORD_VALIDATORS = [ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Internationalization |
|
|
# Internationalization |
|
|
# https://docs.djangoproject.com/en/1.11/topics/i18n/ |
|
|
|
|
|
|
|
|
# https://docs.djangoproject.com/en/2.2/topics/i18n/ |
|
|
|
|
|
|
|
|
LANGUAGE_CODE = 'en-us' |
|
|
LANGUAGE_CODE = 'en-us' |
|
|
|
|
|
|
|
|
@ -123,7 +123,7 @@ USE_TZ = True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Static files (CSS, JavaScript, Images) |
|
|
# Static files (CSS, JavaScript, Images) |
|
|
# https://docs.djangoproject.com/en/1.11/howto/static-files/ |
|
|
|
|
|
|
|
|
# https://docs.djangoproject.com/en/2.2/howto/static-files/ |
|
|
|
|
|
|
|
|
STATIC_URL = '/static/' |
|
|
STATIC_URL = '/static/' |
|
|
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') |
|
|
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') |
|
|
|