Browse Source

Spravne presmerovani, kdyz view vyzaduje login.

remotes/origin/opraf
parent
commit
73bd5bed99
  1. 3
      mamweb/settings_common.py

3
mamweb/settings_common.py

@ -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…
Cancel
Save