settings: Replaced ROOT_PATH call with BASE_DIR.

custom.

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-05-20 23:36:08 -06:00
parent e939806380
commit 7cdd9d2859

View file

@ -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