From 8b55a0b8314ff373047b2e21d78729f93ffaccba Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Wed, 5 Sep 2018 19:38:47 +0200 Subject: Add the `STATIC_ROOT` setting. --- pysite/settings.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pysite') diff --git a/pysite/settings.py b/pysite/settings.py index c7a21083..6bcf9a53 100644 --- a/pysite/settings.py +++ b/pysite/settings.py @@ -158,6 +158,7 @@ USE_TZ = True STATIC_URL = '/static/' STATICFILES_DIRS = [os.path.join(BASE_DIR, 'pysite', 'static')] +STATIC_ROOT = env('STATIC_ROOT', default='/var/www/pythondiscord.com') # django-hosts # https://django-hosts.readthedocs.io/en/latest/ -- cgit v1.2.3