Fix bug: the way we get the string env

This commit is contained in:
PCoder 2019-02-02 21:47:23 +01:00
parent 23c35162ac
commit 4c9079e025

View file

@ -128,5 +128,5 @@ STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static'),
)
STATIC_ROOT = env('STATIC_ROOT', os.path.join(BASE_DIR, '/staticfiles/'))
STATIC_ROOT = env.str('STATIC_ROOT', os.path.join(BASE_DIR, '/staticfiles/'))