#10082: Attribute BaseFormetSet.ordered_forms is broken with blank formsets ---------------------------------------------------+------------------------ Reporter: Petr Marhoun <[email protected]> | Owner: nobody Status: new | Milestone: Component: Forms | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | ---------------------------------------------------+------------------------ In method !BaseFormSet._get_ordered_forms all forms are sorted by function compare_ordering_values. But this function is not defined if the formset is blank.
Attached patch can show problem and fix it. -- Ticket URL: <http://code.djangoproject.com/ticket/10082> 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 -~----------~----~----~----~------~----~------~--~---
