diff --git a/SciPost_v1/settings/production.py b/SciPost_v1/settings/production.py index 2a53091719f2e51c21b0ca22adee28778459a2c4..3b906862bdcf5f28f205cd9192d8072252c31d94 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 1ea328a24156db5750b53a38112549b7f8e78617..0da309cc5c9b8ca3af1d6b9d807354f23be4efed 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'), )