From 789076cfac6157f405e1267edda10d041aff548a Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Tue, 28 Feb 2017 09:38:39 +0100
Subject: [PATCH] Fix my idiot mistakes

---
 SciPost_v1/settings/production.py      | 9 +++------
 SciPost_v1/settings/staging_release.py | 9 +++------
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/SciPost_v1/settings/production.py b/SciPost_v1/settings/production.py
index 2a5309171..3b906862b 100644
--- a/SciPost_v1/settings/production.py
+++ b/SciPost_v1/settings/production.py
@@ -10,12 +10,9 @@ STATIC_URL = 'https://scipost.org/static/'
 STATIC_ROOT = '/home/jscaux/webapps/scipost_static/'
 MEDIA_URL = 'https://scipost.org/media/'
 MEDIA_ROOT = '/home/jscaux/webapps/scipost_media/'
-WEBPACK_LOADER = {
-    'DEFAULT': {
-        'CACHE': True,
-        'BUNDLE_DIR_NAME': '/home/jscaux/webapps/scipost_static/bundles/',
-    }
-}
+
+WEBPACK_LOADER['DEFAULT']['CACHE'] = True
+WEBPACK_LOADER['DEFAULT']['BUNDLE_DIR_NAME'] = '/home/jscaux/webapps/scipost_static/bundles/'
 
 # Error reporting
 ADMINS = MANAGERS = (('J.S.Caux', 'J.S.Caux@uva.nl'), )
diff --git a/SciPost_v1/settings/staging_release.py b/SciPost_v1/settings/staging_release.py
index 1ea328a24..0da309cc5 100644
--- a/SciPost_v1/settings/staging_release.py
+++ b/SciPost_v1/settings/staging_release.py
@@ -12,12 +12,9 @@ STATIC_URL = '/static/'
 STATIC_ROOT = '/home/jdewit/webapps/scipost_static/'
 MEDIA_URL = '/media/'
 MEDIA_ROOT = '/home/jdewit/webapps/scipost_media/'
-WEBPACK_LOADER = {
-    'DEFAULT': {
-        'CACHE': True,
-        'BUNDLE_DIR_NAME': '/home/jdewit/webapps/scipost_static/bundles/',
-    }
-}
+
+WEBPACK_LOADER['DEFAULT']['CACHE'] = True,
+WEBPACK_LOADER['DEFAULT']['BUNDLE_DIR_NAME'] = '/home/jdewit/webapps/scipost_static/bundles/'
 
 # Error reporting
 ADMINS = MANAGERS = (('J. de Wit', 'jorrandewit@outlook.com'), )
-- 
GitLab