#9758: modelformset_factory forms generate error when using queryset --------------------------------------------+------------------------------- Reporter: [EMAIL PROTECTED] | Owner: nobody Status: new | 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 kmtracey):
See #9076 also for how the current match-formset-post-data-to-existing-db- instances approach is fragile. That ticket notes how for some DBs if no order is specified, the actual order returned for a queryset may not be the same from call to call. So the queryset retrieved for GET may be in a different order than the one retrieved during POST (even if they contain the exact same entries) and the formset winds up with instances not correctly matched to POST data. -- Ticket URL: <http://code.djangoproject.com/ticket/9758#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 django-updates@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---