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 0a47b1778d
commit b0f8acbe35

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