Commit 9dffef703faa14a74605d9e83deb790d85bcd282
1 parent
c7a6269b
Exists in
master
and in
39 other branches
Sending static and media to new location
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/colab/custom_settings.py
| @@ -231,8 +231,8 @@ STATICFILES_DIRS = ( | @@ -231,8 +231,8 @@ STATICFILES_DIRS = ( | ||
| 231 | os.path.join(BASE_DIR, 'static'), | 231 | os.path.join(BASE_DIR, 'static'), |
| 232 | ) | 232 | ) |
| 233 | 233 | ||
| 234 | -STATIC_ROOT = os.path.join(BASE_DIR, '..', 'www', 'static') | ||
| 235 | -MEDIA_ROOT = os.path.join(BASE_DIR, '..', 'www', 'media') | 234 | +STATIC_ROOT = '/usr/share/nginx/colab/static/' |
| 235 | +MEDIA_ROOT = '/usr/share/nginx/colab/media/' | ||
| 236 | 236 | ||
| 237 | TEMPLATE_DIRS = ( | 237 | TEMPLATE_DIRS = ( |
| 238 | os.path.join(BASE_DIR, 'templates'), | 238 | os.path.join(BASE_DIR, 'templates'), |