#9493: Formsets with data that violates unique constraints across forms are not
marked invalid
-------------------------------+--------------------------------------------
Reporter: Alex | Owner: brosner
Status: assigned | Milestone:
Component: Forms | Version: 1.0
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------+--------------------------------------------
Comment (by Alex):
1) The reason for this is it leads to long and unruly lines, I think this
makes it a tad easier to follow.
2) Yes, this can be done, I don't think there is much of a speed
difference, and I do think it's easier to read the other way. But
however(FWIW this is how it's done for ModelForms as well).
3) Yeah, that should be changed, you need to do field[0] though, as field
itself is a tuple.
4) Yes.
--
Ticket URL: <http://code.djangoproject.com/ticket/9493#comment:4>
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
-~----------~----~----~----~------~----~------~--~---