Browse Source

Přesun csrf_error

pull/57/head
Jonas Havelka 5 months ago
parent
commit
47894ce335
  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
# 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

0
various/views/__init__.py

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

Loading…
Cancel
Save