Opened 17 years ago
Closed 17 years ago
#6809 closed (fixed)
[newforms-admin] non_field_errors are not displayed in change_form.html
Reported by: | peschler | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | newforms-admin |
Severity: | Keywords: | nfa-blocker non_field_errors form admin | |
Cc: | framos@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Error messages that don't belong to a field (=form.non_field_errors
) are not displayed at the top of the form in the admin change view of a model.
E.g. error messages issued by a custom Form's clean() method are not displayed to the user.
Attached is a simple patch to the change_form.html
which fixes the problem and displays all non-field error messages at the top of the form.
Attachments (1)
Change History (5)
by , 17 years ago
Attachment: | change_form-non_field_errors.diff added |
---|
comment:1 by , 17 years ago
Summary: | non_field_errors are not displayed in change_form.html → [newforms-admin] non_field_errors are not displayed in change_form.html |
---|
comment:2 by , 17 years ago
Keywords: | nfa-blocker added |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 17 years ago
Cc: | added |
---|
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch for displaying non_field_errors.