Ticket #3313: forms.py.diff
File forms.py.diff, 553 bytes (added by , 18 years ago) |
---|
-
forms.py
90 90 top_errors = self.non_field_errors() # Errors that should be displayed above all fields. 91 91 output, hidden_fields = [], [] 92 92 for name, field in self.fields.items(): 93 bf = BoundField(self, field,name)93 bf = __getitem__(name) 94 94 bf_errors = bf.errors # Cache in local variable. 95 95 if bf.is_hidden: 96 96 if bf_errors: