|
1 | 1 | """ |
2 | 2 | Django settings for martor_demo project. |
3 | 3 |
|
4 | | -Generated by 'django-admin startproject' using Django 2.2.2. |
| 4 | +Generated by 'django-admin startproject' using Django 3.0.2. |
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 os |
|
18 | 18 |
|
19 | 19 |
|
20 | 20 | # Quick-start development settings - unsuitable for production |
21 | | -# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/ |
| 21 | +# See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/ |
22 | 22 |
|
23 | 23 | # SECURITY WARNING: keep the secret key used in production secret! |
24 | 24 | SECRET_KEY = '93fs*#h77*vj&2#2f+!y=kifg0s&63768398a(kx126itq(*6r' |
|
27 | 27 | DEBUG = True |
28 | 28 | ALLOWED_HOSTS = ['*'] |
29 | 29 | MARTOR_ENABLE_CONFIGS = { |
30 | | - 'imgur': 'true', # to enable/disable imgur/custom uploader. |
31 | | - 'mention': 'true', # to enable/disable mention |
32 | | - 'jquery': 'true', # to include/revoke jquery (require for admin default django) |
33 | | - 'living': 'false', # to enable/disable live updates in preview |
34 | | - 'spellcheck': 'true', # to enable/disable spellcheck in the editor. |
| 30 | + 'emoji': 'true', # to enable/disable emoji icons. |
| 31 | + 'imgur': 'true', # to enable/disable imgur/custom uploader. |
| 32 | + 'mention': 'true', # to enable/disable mention |
| 33 | + 'jquery': 'true', # to include/revoke jquery (require for admin default django) |
| 34 | + 'living': 'false', # to enable/disable live updates in preview |
| 35 | + 'spellcheck': 'true', # to enable/disable spellcheck in form textareas |
| 36 | + 'hljs': 'true', # to enable/disable hljs highlighting in preview |
35 | 37 | } |
36 | 38 |
|
37 | 39 | # Application definition |
|
79 | 81 |
|
80 | 82 |
|
81 | 83 | # Database |
82 | | -# https://docs.djangoproject.com/en/2.2/ref/settings/#databases |
| 84 | +# https://docs.djangoproject.com/en/3.0/ref/settings/#databases |
83 | 85 |
|
84 | 86 | DATABASES = { |
85 | 87 | 'default': { |
|
90 | 92 |
|
91 | 93 |
|
92 | 94 | # Password validation |
93 | | -# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators |
| 95 | +# https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators |
94 | 96 |
|
95 | 97 | AUTH_PASSWORD_VALIDATORS = [ |
96 | 98 | { |
|
109 | 111 |
|
110 | 112 |
|
111 | 113 | # Internationalization |
112 | | -# https://docs.djangoproject.com/en/2.2/topics/i18n/ |
| 114 | +# https://docs.djangoproject.com/en/3.0/topics/i18n/ |
113 | 115 |
|
114 | 116 | LANGUAGE_CODE = 'en-us' |
115 | 117 |
|
|
123 | 125 |
|
124 | 126 |
|
125 | 127 | # Static files (CSS, JavaScript, Images) |
126 | | -# https://docs.djangoproject.com/en/2.2/howto/static-files/ |
| 128 | +# https://docs.djangoproject.com/en/3.0/howto/static-files/ |
127 | 129 |
|
128 | 130 | STATIC_URL = '/static/' |
129 | 131 | MEDIA_URL = '/media/' |
|
0 commit comments