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
1 changed files with 1 additions and 1 deletions

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