#20522: Admin formset validation cannot take submitted model instance into
account
when form not valid.
-------------------------------------+-------------------------------------
Reporter: meshy | Owner: kamni
Type: Bug | Status: assigned
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: admin formset | Triage Stage: Accepted
validation | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 0 | UI/UX: 0
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Comment (by kamni):
In order to test this bug, we need two models where the validation of one
of the child's fields is contingent on the validation of one of the
parent's fields, with a special admin that handled this validation. I was
hesitant to alter an existing set of models/admin out of concern of
breaking other testing.
I already confirmed that adding the new models was valid in this
particular case with EvilDMP and one other core dev at the sprints before
submitting this patch. If you have suggestions about which models I should
change instead, please let me know.
--
Ticket URL: <https://code.djangoproject.com/ticket/20522#comment:8>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.5f585024f1062f3dbeeab4c2f8aa72f0%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.