Commit 5bea757ad825fcf168b453f835b71198f748435a
1 parent
7aa3cee5
Exists in
master
and in
39 other branches
Updating settings to match new static location
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/colab/custom_settings.py
@@ -137,11 +137,15 @@ AUTHENTICATION_BACKENDS = ( | @@ -137,11 +137,15 @@ AUTHENTICATION_BACKENDS = ( | ||
137 | ) | 137 | ) |
138 | 138 | ||
139 | STATICFILES_DIRS = ( | 139 | STATICFILES_DIRS = ( |
140 | - os.path.join(BASE_DIR, 'colab', 'static'), | 140 | + os.path.join(BASE_DIR, 'static'), |
141 | ) | 141 | ) |
142 | 142 | ||
143 | STATIC_ROOT = os.path.join(BASE_DIR, '..', 'www', 'static') | 143 | STATIC_ROOT = os.path.join(BASE_DIR, '..', 'www', 'static') |
144 | 144 | ||
145 | +TEMPLATE_DIRS = ( | ||
146 | + os.path.join(BASE_DIR, 'templates'), | ||
147 | +) | ||
148 | + | ||
145 | AUTH_USER_MODEL = 'accounts.User' | 149 | AUTH_USER_MODEL = 'accounts.User' |
146 | 150 | ||
147 | from django.contrib.messages import constants as messages | 151 | from django.contrib.messages import constants as messages |