|
@@ -1,13 +1,13 @@
|
1
|
1
|
"""
|
2
|
2
|
Django settings for this project.
|
3
|
3
|
|
4
|
|
-Generated by 'django-admin startproject' using Django 2.2.3.
|
|
4
|
+Generated by 'django-admin startproject' using Django 3.0.3.
|
5
|
5
|
|
6
|
6
|
For more information on this file, see
|
7
|
|
-https://docs.djangoproject.com/en/2.2/topics/settings/
|
|
7
|
+https://docs.djangoproject.com/en/3.0/topics/settings/
|
8
|
8
|
|
9
|
9
|
For the full list of settings and their values, see
|
10
|
|
-https://docs.djangoproject.com/en/2.2/ref/settings/
|
|
10
|
+https://docs.djangoproject.com/en/3.0/ref/settings/
|
11
|
11
|
"""
|
12
|
12
|
|
13
|
13
|
import config
|
|
@@ -56,7 +56,7 @@ for property_name in USER_CONFIG_DEFAULTS:
|
56
|
56
|
setattr(thismodule, property_name, value)
|
57
|
57
|
|
58
|
58
|
# Quick-start development settings - unsuitable for production
|
59
|
|
-# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
|
|
59
|
+# See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/
|
60
|
60
|
|
61
|
61
|
# SECURITY WARNING: keep the secret key used in production secret!
|
62
|
62
|
#
|
|
@@ -68,7 +68,7 @@ if SECRET_KEY is None:
|
68
|
68
|
|
69
|
69
|
# SECURITY WARNING: don't run with debug turned on in production!
|
70
|
70
|
#
|
71
|
|
-DEBUG = False
|
|
71
|
+DEBUG = True
|
72
|
72
|
|
73
|
73
|
|
74
|
74
|
# Application definition
|
|
@@ -120,7 +120,7 @@ WSGI_APPLICATION = 'main.wsgi.application'
|
120
|
120
|
|
121
|
121
|
|
122
|
122
|
# Database
|
123
|
|
-# https://docs.djangoproject.com/en/2.2/ref/settings/#databases
|
|
123
|
+# https://docs.djangoproject.com/en/3.0/ref/settings/#databases
|
124
|
124
|
#
|
125
|
125
|
DATABASES = {
|
126
|
126
|
'default': {
|
|
@@ -131,7 +131,7 @@ DATABASES = {
|
131
|
131
|
|
132
|
132
|
|
133
|
133
|
# Password validation
|
134
|
|
-# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
|
|
134
|
+# https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators
|
135
|
135
|
#
|
136
|
136
|
AUTH_PASSWORD_VALIDATORS = [
|
137
|
137
|
{
|
|
@@ -155,7 +155,7 @@ WHOOSH_PATH = os.path.join(BASE_DIR, 'data', 'whoosh_index')
|
155
|
155
|
|
156
|
156
|
|
157
|
157
|
# Internationalization
|
158
|
|
-# https://docs.djangoproject.com/en/2.2/topics/i18n/
|
|
158
|
+# https://docs.djangoproject.com/en/3.0/topics/i18n/
|
159
|
159
|
#
|
160
|
160
|
LANGUAGE_CODE = 'en-us'
|
161
|
161
|
LANGUAGES = [
|
|
@@ -178,7 +178,7 @@ USE_TZ = True
|
178
|
178
|
|
179
|
179
|
|
180
|
180
|
# Static files (CSS, JavaScript, Images)
|
181
|
|
-# https://docs.djangoproject.com/en/2.2/howto/static-files/
|
|
181
|
+# https://docs.djangoproject.com/en/3.0/howto/static-files/
|
182
|
182
|
#
|
183
|
183
|
STATIC_ROOT = os.path.join(BASE_DIR, 'data', 'static')
|
184
|
184
|
STATIC_URL = '/static/'
|