From 4e98230e877936f37cc9147690fe96d7794c88fa Mon Sep 17 00:00:00 2001 From: Tao Bojlen Date: Mon, 27 Aug 2018 03:06:00 +0200 Subject: [PATCH] fix static file collection --- backend/settings/base.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/settings/base.py b/backend/settings/base.py index bd41a1a..fb0ec3c 100644 --- a/backend/settings/base.py +++ b/backend/settings/base.py @@ -140,7 +140,5 @@ USE_TZ = True # https://docs.djangoproject.com/en/2.1/howto/static-files/ STATIC_URL = '/static/' -STATICFILES_DIRS = [ - os.path.join(BASE_DIR, 'static'), -] +STATIC_ROOT = os.path.join(BASE_DIR, 'static')