set STATICROOT for production mode

This commit is contained in:
clemens 2018-01-15 11:20:30 +01:00
parent edbf9d0f0f
commit 772a96f28f

View File

@ -159,7 +159,7 @@ TIME_FORMAT = "H:i"
# https://docs.djangoproject.com/en/1.11/howto/static-files/ # https://docs.djangoproject.com/en/1.11/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
# STATIC_ROOT = os.path.join(BASE_DIR, "static") STATIC_ROOT = os.path.join(BASE_DIR, "static")
STATICFILES_DIRS = [ STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"), os.path.join(BASE_DIR, "static"),
] ]