Ticket #3313: ticket-3313.diff
File ticket-3313.diff, 510 bytes (added by , 18 years ago) |
---|
-
django/newforms/forms.py
a b class BaseForm(StrAndUnicode): 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 = self.__getitem__(name) 94 94 bf_errors = bf.errors # Cache in local variable. 95 95 if bf.is_hidden: 96 96 if bf_errors: