Ticket #3313: forms.py.diff

File forms.py.diff, 553 bytes (added by gustavo.torrico@…, 18 years ago)
  • forms.py

     
    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 = __getitem__(name)
    9494            bf_errors = bf.errors # Cache in local variable.
    9595            if bf.is_hidden:
    9696                if bf_errors:
Back to Top