Ticket #12901: 12901-against-12557.diff
File 12901-against-12557.diff, 615 bytes (added by , 15 years ago) |
---|
-
django/forms/models.py
281 281 elif self._meta.fields and field not in self._meta.fields: 282 282 exclude.append(f.name) 283 283 284 elif self._meta.exclude and field in self._meta.exclude: 285 exclude.append(f.name) 286 284 287 # Exclude fields that failed form validation. There's no need for 285 288 # the model fields to validate them as well. 286 289 elif field in self._errors.keys():