[newforms-admin] non_field_errors are not displayed in change_form.html
|Reported by:||peschler||Owned by:||nobody|
|Severity:||Keywords:||nfa-blocker non_field_errors form admin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Error messages that don't belong to a field (=
) 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
which fixes the problem and displays all non-field error messages at the top of the form.
Change History (5)
comment:1 Changed 9 years ago by
|Summary:||non_field_errors are not displayed in change_form.html → [newforms-admin] non_field_errors are not displayed in change_form.html|