Ticket #3313: forms.py.diff2
File forms.py.diff2, 558 bytes (added by , 18 years ago) |
---|
Line | |
---|---|
1 | Index: forms.py |
2 | =================================================================== |
3 | --- forms.py (revision 4343) |
4 | +++ forms.py (working copy) |
5 | @@ -90,7 +90,7 @@ |
6 | top_errors = self.non_field_errors() # Errors that should be displayed above all fields. |
7 | output, hidden_fields = [], [] |
8 | for name, field in self.fields.items(): |
9 | - bf = BoundField(self, field, name) |
10 | + bf = self.__getitem__(name) |
11 | bf_errors = bf.errors # Cache in local variable. |
12 | if bf.is_hidden: |
13 | if bf_errors: |