#13060: ManagementForm exception in case of bad prefix should be easier to
understand
-------------------------------------+-------------------------------------
Reporter: Karel | Owner: Manav
Type: | Agarwal
Cleanup/optimization | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: formset, | Triage Stage: Accepted
ValidationError, ManagementForm |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Manav Agarwal):
We may change the code from :
{{{
raise ValidationError(
_('ManagementForm data is missing or has been tampered
with'),
code='missing_management_form',
)
}}}
to something like:
{{{
raise ValidationError(
_('ManagementForm data is missing or has been tampered
with %s' % form._errors),
code='missing_management_form',
)
}}}
Approvals please.
--
Ticket URL: <https://code.djangoproject.com/ticket/13060#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.b0a78b6c77ad8501b08019b0f707ae49%40djangoproject.com.