#25987: Creating new object in admin with child model inlines and
unique_together
raises IntegrityError
-------------------------------------+-------------------------------------
Reporter: MrYoda | Owner: charettes
Type: Bug | Status: closed
Component: Forms | Version: master
Severity: Normal | Resolution: fixed
Keywords: admin, create | Triage Stage: Ready for
object, unique_together, | checkin
IntegrityError, validate_unique |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette <charette.s@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"1a403aa705e7921eb6ec88c7d9f686ab0e54ef76" 1a403aa7]:
{{{
#!CommitTicketReference repository=""
revision="1a403aa705e7921eb6ec88c7d9f686ab0e54ef76"
Fixed #25987 -- Made inline formset validation respect unique_together
with an unsaved parent object.
Thanks Anton Kuzmichev for the report and Tim for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25987#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/064.b66a5e0b0d112f730f618e2443d8dfe8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.