From 9b3e26b1b170a5a7609b76a868154c1686f8c056 Mon Sep 17 00:00:00 2001 From: Dece Date: Fri, 18 Aug 2017 11:32:27 +0200 Subject: [PATCH] Set STATIC_ROOT --- idre/settings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/idre/settings.py b/idre/settings.py index a039d53..dd38e5a 100644 --- a/idre/settings.py +++ b/idre/settings.py @@ -10,7 +10,7 @@ DEBUG = False SECRET_KEY = '' -ALLOWED_HOSTS = ['idre.xyz', 'idre.shgck.io'] +ALLOWED_HOSTS = ['idre.xyz'] ADMINS = ( ('Shgck', 'shgck@pistache.land'), ) @@ -74,8 +74,9 @@ USE_TZ = True MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MEDIA_URL = '/media/' -STATICFILES_DIRS = ( os.path.join(BASE_DIR, 'static'), ) +STATIC_ROOT = os.path.join(BASE_DIR, 'static') STATIC_URL = '/static/' +STATICFILES_DIRS = (STATIC_ROOT,) TEMPLATES = [{ 'APP_DIRS': True,