From 7cdd9d2859e646de1ef69a21973a4900211cdc3a Mon Sep 17 00:00:00 2001 From: rscnt Date: Wed, 20 May 2015 23:36:08 -0600 Subject: [PATCH] settings: Replaced ROOT_PATH call with BASE_DIR. custom. Signed-off-by: rscnt --- dynamicweb/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index eee044b2..b901c002 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -186,7 +186,7 @@ STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static') # Media files. -MEDIA_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'media')) +MEDIA_ROOT = os.path.abspath(os.path.join(BASE_DIR, '..', 'media')) MEDIA_URL = APP_ROOT_ENDPOINT + 'media/' # Templates confs