From f075438bbe7b539773f34733aff5c89f5a0fee40 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Fri, 26 Jan 2018 19:39:28 +0100 Subject: [PATCH] Add the STATIC_ROOT env setting --- khaganat/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/khaganat/settings.py b/khaganat/settings.py index 1f9cc62..d780236 100644 --- a/khaganat/settings.py +++ b/khaganat/settings.py @@ -130,3 +130,4 @@ USE_TZ = True # https://docs.djangoproject.com/en/2.0/howto/static-files/ STATIC_URL = os.getenv('KHAGANAT_STATIC_URL', default='/static/') +STATIC_ROOT = os.getenv('KHAGANAT_STATIC_ROOT', default='') or None