summaryrefslogtreecommitdiff
path: root/django/forms
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 08:04:42 +0200
commit4884a87e022056eda10534c13d74e49b8cdda632 (patch)
treed62cf932ec2f41050c64ceae57b862c1b83a277d /django/forms
parentb7fd668b37341fc92d67c4854c4f244e10895c9b (diff)
Fixed #33134 -- Fixed recursion depth error when rendering Form with BoundFields.
Regression in 456466d932830b096d39806e291fe23ec5ed38d5.
Diffstat (limited to 'django/forms')
-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,