Default login url
This commit is contained in:
		@@ -14,6 +14,7 @@ https://docs.djangoproject.com/en/3.0/ref/settings/
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from django.urls import reverse_lazy
 | 
			
		||||
 | 
			
		||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
 | 
			
		||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 | 
			
		||||
@@ -138,6 +139,8 @@ AUTH_USER_MODEL = 'lostplaces_app.Explorer'
 | 
			
		||||
LOGIN_REDIRECT_URL = 'home'
 | 
			
		||||
LOGOUT_REDIRECT_URL = 'home'
 | 
			
		||||
 | 
			
		||||
LOGIN_URL = reverse_lazy('login')
 | 
			
		||||
 | 
			
		||||
THUMBNAIL_ALIASES = {
 | 
			
		||||
    '': {
 | 
			
		||||
        'thumbnail': {'size': (300, 300), 'crop': False},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user