module documentation

Undocumented

Constant CSRF​_FAILURE​_TEMPLATE Undocumented
Constant CSRF​_FAILURE​_TEMPLATE​_NAME Undocumented
Function csrf​_failure Default view used when request fails CSRF protection
CSRF_FAILURE_TEMPLATE: str =

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 =

Undocumented

Value
'403_csrf.html'
def csrf_failure(request, reason='', template_name=CSRF_FAILURE_TEMPLATE_NAME):
Default view used when request fails CSRF protection