#14238: admin-interface and formsets: ordered_forms are not returned in case of errors --------------------------------------------+------------------------------- Reporter: sehmasch...@gmail.com | Owner: nobody Status: closed | Milestone: Component: django.contrib.admin | Version: 1.2 Resolution: invalid | Keywords: Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | --------------------------------------------+------------------------------- Changes (by julien):
* status: new => closed * resolution: => invalid Comment: I think #11801 is a different issue. In your case, the forms are displayed in the wrong order probably because the objects haven't been saved (because there was a validation error) and because the ordering is probably based on the values that are stored in the database and not the values that are temporarily "stored" in the forms. It looks like you would have to use some custom javascript to reorder the inlines based on the values that are in the forms. In any case, there's not much we can do without seeing any specific test case, so I'm marking this ticket as invalid. Feel free to reopen if you can provide such a detailed test case (e.g. models, admin configurations, etc). You may also try asking for help on the Django user mailing list: http://groups.google.com/group/django-users/topics -- Ticket URL: <http://code.djangoproject.com/ticket/14238#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-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.