summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2021-09-26 19:55:04 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-09-29 10:55:01 +0200
commit0b62518ff424b0fe442b41636871fd99832ebdcb (patch)
treebc8ec8d4bcca752259f655abc879dce5a7951b6f /django
parent6f310417941182fda01f5276462ad8538d5f77d8 (diff)
[4.0.x] Fixed #33134 -- Fixed recursion depth error when rendering Form with BoundFields.
Regression in 456466d932830b096d39806e291fe23ec5ed38d5. Backport of 4884a87e022056eda10534c13d74e49b8cdda632 from main
Diffstat (limited to 'django')
-rw-r--r--django/forms/boundfield.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/forms/boundfield.py b/django/forms/boundfield.py
index d1e98719d2..5bbfcbe41c 100644
--- a/django/forms/boundfield.py
+++ b/django/forms/boundfield.py
@@ -177,7 +177,6 @@ class BoundField:
else:
attrs['class'] = self.form.required_css_class
context = {
- 'form': self.form,
'field': self,
'label': contents,
'attrs': attrs,