module documentation

Undocumented

Function csrf_failure Default view used when request fails CSRF protection
Constant CSRF_FAILURE_TEMPLATE Undocumented
Constant CSRF_FAILURE_TEMPLATE_NAME Undocumented
def csrf_failure(request, reason='', template_name=CSRF_FAILURE_TEMPLATE_NAME): (source)

Default view used when request fails CSRF protection

CSRF_FAILURE_TEMPLATE: str = (source)

Undocumented

Value
'''
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="robots" content="NONE,NOARCHIVE">
  <title>403 Forbidden</title>
...
CSRF_FAILURE_TEMPLATE_NAME: str = (source)

Undocumented

Value
'403_csrf.html'