Commit 27adefdbf7b2550002ad961bf6e835789c01b714
Committed by
Lucas Kanashiro
1 parent
658ecc8c
Exists in
master
and in
8 other branches
Changed STATIC_ROOT path
In order to remove nginx dependency from colab settings, it was necessary to change the STATIC_ROOT path. Therefore, the new path for STATIC_ROOT is now "/var/lib/colab/static" Signed-off-by: Lucas Moura <lucas.moura128@gmail.com> Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
colab/settings.py
... | ... | @@ -80,11 +80,8 @@ USE_TZ = True |
80 | 80 | # Static files (CSS, JavaScript, Images) |
81 | 81 | # https://docs.djangoproject.com/en/1.7/howto/static-files/ |
82 | 82 | |
83 | -STATIC_ROOT = '/usr/share/nginx/colab/static/' | |
84 | -MEDIA_ROOT = '/usr/share/nginx/colab/media/' | |
85 | - | |
83 | +STATIC_ROOT = '/var/lib/colab/static/' | |
86 | 84 | STATIC_URL = '/static/' |
87 | -MEDIA_URL = '/media/' | |
88 | 85 | |
89 | 86 | STATICFILES_STORAGE = \ |
90 | 87 | 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' | ... | ... |