diff options
author | 2018-09-05 19:38:47 +0200 | |
---|---|---|
committer | 2018-09-05 19:38:47 +0200 | |
commit | 8b55a0b8314ff373047b2e21d78729f93ffaccba (patch) | |
tree | 100bbe906e8cd844d5fafb29ae2ba25cc8198b4d /pysite | |
parent | Push to Docker Hub. (diff) |
Add the `STATIC_ROOT` setting.
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/settings.py | 1 |
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/ |