From 9dffef703faa14a74605d9e83deb790d85bcd282 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Fri, 1 Aug 2014 17:07:16 -0300 Subject: [PATCH] Sending static and media to new location --- src/colab/custom_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/colab/custom_settings.py b/src/colab/custom_settings.py index 0160847..27d7203 100644 --- a/src/colab/custom_settings.py +++ b/src/colab/custom_settings.py @@ -231,8 +231,8 @@ STATICFILES_DIRS = ( os.path.join(BASE_DIR, 'static'), ) -STATIC_ROOT = os.path.join(BASE_DIR, '..', 'www', 'static') -MEDIA_ROOT = os.path.join(BASE_DIR, '..', 'www', 'media') +STATIC_ROOT = '/usr/share/nginx/colab/static/' +MEDIA_ROOT = '/usr/share/nginx/colab/media/' TEMPLATE_DIRS = ( os.path.join(BASE_DIR, 'templates'), -- libgit2 0.21.2