From be7579134f088358e1c15747fd40753ad4cdd84e Mon Sep 17 00:00:00 2001 From: rscnt Date: Mon, 2 Nov 2015 15:58:52 -0600 Subject: [PATCH] dynamicweb/settings: base, using PROJECT_ROOT instead of BASE_DIR Signed-off-by: rscnt --- dynamicweb/settings/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dynamicweb/settings/base.py b/dynamicweb/settings/base.py index 77d01d43..356d5f41 100644 --- a/dynamicweb/settings/base.py +++ b/dynamicweb/settings/base.py @@ -268,15 +268,15 @@ if LOGIN_REDIRECT_URL is None: STATIC_URL = '/static/' -STATIC_ROOT = os.path.join(BASE_DIR, 'static') +STATIC_ROOT = os.path.join(PROJECT_DIR, 'static') -MEDIA_ROOT = os.path.join(BASE_DIR, 'media') +MEDIA_ROOT = os.path.join(PROJECT_DIR, 'media') MEDIA_URL = APP_ROOT_ENDPOINT + 'media/' FILE_UPLOAD_PERMISSIONS = 0o644 # Templates confs TEMPLATE_DIRS = ( - os.path.join(BASE_DIR, "templates"), + os.path.join(PROJECT_DIR, "templates"), ) META_SITE_PROTOCOL = 'http'