#8890: Inline model formsets break validation for unique_together with foreign
keys
-------------------------------------+--------------------------------------
Reporter: [email protected] | Owner: nobody
Status: reopened | Milestone:
Component: Forms | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Changes (by bronger):
* status: closed => reopened
* resolution: duplicate =>
Comment:
I run into the same problem with SVN 13265. The unique_constraing of the
child model is not checked by the form set returned by
{{{inlineformset_factory}}}. Instead, the integrity error is raised. My
code is equivalent to the code above except that I don't have custom form
classes.
--
Ticket URL: <http://code.djangoproject.com/ticket/8890#comment:2>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.