Browse Source

Přesun csrf_error

pull/60/head
Jonas Havelka 4 months ago
parent
commit
0cab9a8286
  1. 2
      mamweb/settings_common.py
  2. 0
      various/views/__init__.py
  3. 0
      various/views/csrf.py

2
mamweb/settings_common.py

@ -54,7 +54,7 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = True
DOBA_ODHLASENI_PRI_ZASKRTNUTI_NEODHLASOVAT = 365 * 24 * 3600 # rok DOBA_ODHLASENI_PRI_ZASKRTNUTI_NEODHLASOVAT = 365 * 24 * 3600 # rok
# View pro chybu s CSRF tokenem (např. se sušenkami) # View pro chybu s CSRF tokenem (např. se sušenkami)
CSRF_FAILURE_VIEW = 'various.views.csrf_error' CSRF_FAILURE_VIEW = 'various.views.csrf.csrf_error'
# Modules configuration # Modules configuration

0
various/views/__init__.py

0
various/views.py → various/views/csrf.py

Loading…
Cancel
Save