Spravne presmerovani, kdyz view vyzaduje login.

This commit is contained in:
Tomas "Jethro" Pokorny 2015-12-24 15:51:32 +01:00
parent 67db23ae56
commit 73bd5bed99

View file

@ -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 = (