Cleaned up configuration
This commit is contained in:
parent
e08f8f60f2
commit
72dc41ab79
@ -137,17 +137,6 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads')
|
|||||||
AUTH_USER_MODEL = 'lostplaces_app.Explorer'
|
AUTH_USER_MODEL = 'lostplaces_app.Explorer'
|
||||||
|
|
||||||
# Templates to use for authentication
|
# Templates to use for authentication
|
||||||
LOGIN_REDIRECT_URL = 'home'
|
|
||||||
LOGOUT_REDIRECT_URL = 'home'
|
|
||||||
|
|
||||||
LOGIN_URL = reverse_lazy('login')
|
LOGIN_URL = reverse_lazy('login')
|
||||||
|
LOGIN_REDIRECT_URL = reverse_lazy('lostplaces_home')
|
||||||
THUMBNAIL_ALIASES = {
|
LOGOUT_REDIRECT_URL = reverse_lazy('lostplaces_home')
|
||||||
'': {
|
|
||||||
'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')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user