Spravne presmerovani, kdyz view vyzaduje login.
This commit is contained in:
		
							parent
							
								
									67db23ae56
								
							
						
					
					
						commit
						73bd5bed99
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -42,6 +42,9 @@ STATICFILES_FINDERS = ( | ||||||
|     'django.contrib.staticfiles.finders.FileSystemFinder', |     'django.contrib.staticfiles.finders.FileSystemFinder', | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | # Where redirect for login required services | ||||||
|  | LOGIN_URL = '/admin/login' | ||||||
|  | 
 | ||||||
| # Modules configuration | # Modules configuration | ||||||
| 
 | 
 | ||||||
| AUTHENTICATION_BACKENDS = ( | AUTHENTICATION_BACKENDS = ( | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue