#8882: Inline model formsets break validation for unique and unique_together
with
foreign keys
----------------------------------------------+-----------------------------
Reporter: [EMAIL PROTECTED] | Owner: brosner
Status: reopened | Milestone:
Component: Forms | Version: 1.0
Resolution: | Keywords: model-validation
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------------+-----------------------------
Changes (by mrts):
* status: closed => reopened
* resolution: fixed =>
Comment:
brosner, the fix is unfortunately insufficient. Alex's patch is also
needed, but as that deals with `unique` checks only, `unique_together`
checks need still to be added to it.
Try the testcase that I've reported above.
I'll examine the code hopefully tomorrow and write a patch.
--
Ticket URL: <http://code.djangoproject.com/ticket/8882#comment:14>
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
-~----------~----~----~----~------~----~------~--~---