summaryrefslogtreecommitdiff
path: root/django/views
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2023-11-08 08:50:55 -0300
committerNatalia <124304+nessita@users.noreply.github.com>2023-11-08 08:50:55 -0300
commit5f2f12f61c8e9bc0323efea391ee56e721ce14c6 (patch)
tree9b5f19489847af88fafbc1af4348024ed2b00338 /django/views
parent535f7b5c6cea54a0796d85bbe213183d50002689 (diff)
Reverted "Fixed #34830 -- Added request to csrf_failure view's template context."
This reverts commit 535f7b5c6cea54a0796d85bbe213183d50002689.
Diffstat (limited to 'django/views')
-rw-r--r--django/views/csrf.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/views/csrf.py b/django/views/csrf.py
index e282ebb2b6..3c572a621a 100644
--- a/django/views/csrf.py
+++ b/django/views/csrf.py
@@ -64,7 +64,6 @@ def csrf_failure(request, reason="", template_name=CSRF_FAILURE_TEMPLATE_NAME):
"DEBUG": settings.DEBUG,
"docs_version": get_docs_version(),
"more": _("More information is available with DEBUG=True."),
- "request": request,
}
try:
t = loader.get_template(template_name)