#8795: unique_together validation fails on model forms that exclude unique
fields
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jacob
Status: closed | Milestone: 1.0
Component: Forms | Version: SVN
Resolution: fixed | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Comment (by mtredinnick):
In reply to comment:9, the form is valid. The unique_together constraint
is only applicable to the model and thus is only going to kick in at save
time at the moment. With the model-aware validation work in progress,
there'll be an extra step to check the model validity as well, prior to
saving so that validation errors there can be handled properly rather than
being raised out of `save()`.
--
Ticket URL: <http://code.djangoproject.com/ticket/8795#comment:11>
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
-~----------~----~----~----~------~----~------~--~---