From 72dc41ab794295af633eb7b888b1d29d1a807296 Mon Sep 17 00:00:00 2001 From: reverend Date: Thu, 10 Sep 2020 18:36:42 +0200 Subject: [PATCH] Cleaned up configuration --- lostplaces/lostplaces/settings.py | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/lostplaces/lostplaces/settings.py b/lostplaces/lostplaces/settings.py index e08bb8d..8da8f6d 100644 --- a/lostplaces/lostplaces/settings.py +++ b/lostplaces/lostplaces/settings.py @@ -137,17 +137,6 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads') AUTH_USER_MODEL = 'lostplaces_app.Explorer' # Templates to use for authentication -LOGIN_REDIRECT_URL = 'home' -LOGOUT_REDIRECT_URL = 'home' - LOGIN_URL = reverse_lazy('login') - -THUMBNAIL_ALIASES = { - '': { - 'thumbnail': {'size': (300, 200), 'crop': True}, - 'hero': {'size': (700, 466), 'crop': True}, - 'large': {'size': (1920, 1920), 'crop': False}, - }, -} - -SVG_ICONS_SOURCE_FILE = os.path.join(BASE_DIR, 'lostplaces_app', 'static', 'icons', 'icons.icomoon.json') +LOGIN_REDIRECT_URL = reverse_lazy('lostplaces_home') +LOGOUT_REDIRECT_URL = reverse_lazy('lostplaces_home')