Add comments and relocate thumbnails, set quality.
This commit is contained in:
		@@ -131,9 +131,15 @@ USE_TZ = True
 | 
			
		||||
STATIC_URL = '/static/'
 | 
			
		||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static_files')
 | 
			
		||||
 | 
			
		||||
# Upload directory
 | 
			
		||||
MEDIA_URL = '/uploads/'
 | 
			
		||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads')
 | 
			
		||||
 | 
			
		||||
# Thumbnails
 | 
			
		||||
THUMBNAIL_MEDIA_ROOT = os.path.join(MEDIA_ROOT, 'thumbs/')
 | 
			
		||||
THUMBNAIL_MEDIA_URL = os.path.join(MEDIA_URL, 'thumbs/')
 | 
			
		||||
THUMBNAIL_QUALITY = 75
 | 
			
		||||
 | 
			
		||||
# Templates to use for authentication
 | 
			
		||||
LOGIN_URL = reverse_lazy('login')
 | 
			
		||||
LOGIN_REDIRECT_URL = reverse_lazy('lostplaces_home')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user