Ticket #3313: ticket-3313.diff

File ticket-3313.diff, 510 bytes (added by mir@…, 17 years ago)

second path with full path

  • django/newforms/forms.py

    a b class BaseForm(StrAndUnicode):  
    9090        top_errors = self.non_field_errors() # Errors that should be displayed above all fields.
    9191        output, hidden_fields = [], []
    9292        for name, field in self.fields.items():
    93             bf = BoundField(self, field, name)
     93            bf = self.__getitem__(name)
    9494            bf_errors = bf.errors # Cache in local variable.
    9595            if bf.is_hidden:
    9696                if bf_errors:
Back to Top