settings: Replaced ROOT_PATH call with BASE_DIR.
custom. Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
e939806380
commit
7cdd9d2859
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ STATIC_URL = '/static/'
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
||||||
|
|
||||||
# Media files.
|
# 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/'
|
MEDIA_URL = APP_ROOT_ENDPOINT + 'media/'
|
||||||
|
|
||||||
# Templates confs
|
# Templates confs
|
||||||
|
|
Loading…
Reference in a new issue