aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-05 19:38:47 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-05 19:38:47 +0200
commit8b55a0b8314ff373047b2e21d78729f93ffaccba (patch)
tree100bbe906e8cd844d5fafb29ae2ba25cc8198b4d
parentPush to Docker Hub. (diff)
Add the `STATIC_ROOT` setting.
-rw-r--r--pysite/settings.py1
1 files changed, 1 insertions, 0 deletions
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/