File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
"""
2
2
Django settings for cove_project project.
3
3
4
- Generated by 'django-admin startproject' using Django 2.1.3 .
4
+ Generated by 'django-admin startproject'.
5
5
6
6
For more information on this file, see
7
7
https://docs.djangoproject.com/en/4.2/topics/settings/
16
16
from cove import settings
17
17
18
18
# Build paths inside the project like this: BASE_DIR / "subdir".
19
- BASE_DIR = Path (__file__ ).resolve ().parents [ 1 ]
19
+ BASE_DIR = Path (__file__ ).resolve ().parent . parent
20
20
21
21
# We use the setting to choose whether to show the section about Sentry in the
22
22
# terms and conditions
124
124
LANGUAGE_CODE = settings .LANGUAGE_CODE
125
125
TIME_ZONE = settings .TIME_ZONE
126
126
USE_I18N = settings .USE_I18N
127
- USE_L10N = settings .USE_L10N
128
127
USE_TZ = settings .USE_TZ
129
128
130
129
LANGUAGES = settings .LANGUAGES
137
136
# We can't take STATIC_URL and STATIC_ROOT from cove settings,
138
137
# ... otherwise the files appear under the BASE_DIR that is the Cove library install.
139
138
# and that doesn't work with our standard Apache setup.
140
- STATIC_URL = "/ infrastructure/static/"
139
+ STATIC_URL = "infrastructure/static/"
141
140
STATIC_ROOT = BASE_DIR / "static"
142
141
143
142
# Misc
You can’t perform that action at this time.
0 commit comments