|
@ -48,6 +48,11 @@ STATICFILES_FINDERS = ( |
|
|
LOGIN_URL = 'login' |
|
|
LOGIN_URL = 'login' |
|
|
LOGIN_REDIRECT_URL = 'profil' |
|
|
LOGIN_REDIRECT_URL = 'profil' |
|
|
|
|
|
|
|
|
|
|
|
# Odhlášení po zavření prohlížeče |
|
|
|
|
|
# (pozor nefunguje na firefox se znovuotevíráním oken po startu firefoxu) |
|
|
|
|
|
# default je False a SESSION_COOKIE_AGE = 3600*24*14 = 2 týdny |
|
|
|
|
|
SESSION_EXPIRE_AT_BROWSER_CLOSE = True |
|
|
|
|
|
|
|
|
# Modules configuration |
|
|
# Modules configuration |
|
|
|
|
|
|
|
|
AUTHENTICATION_BACKENDS = ( |
|
|
AUTHENTICATION_BACKENDS = ( |
|
|