Add the STATIC_ROOT env setting

This commit is contained in:
Rodolphe Breard 2018-01-26 19:39:28 +01:00
parent 89a10d3b6a
commit f075438bbe

View file

@ -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