#15288: ManyToManyField doesn't highlight currently selected items in Admin where target is a proxy object. -----------------------+---------------------------------------------------- Reporter: anonymous | Owner: nobody Status: new | Milestone: Component: Forms | Version: 1.2 Keywords: | Triage Stage: Unreviewed Has patch: 0 | -----------------------+---------------------------------------------------- I've implemented my own single-table inheritance by creating a base class with all the fields I need, plus a 'type' field to contain the subclass objects should be instantiated as.
I've got two subclasses which are proxies for the main class, each with a custom model manager to filter results by the appropriate class. This works almost everywhere except in the admin area. I've got a ManyToMany relationship defined on a class that references one of these proxy objects. When I select some of these proxy objects in the admin and save the form, the database is correctly updated, but the select form widget doesn't highlight the selected items. This affects at least django 1.2.3 to 1.2.4. -- Ticket URL: <http://code.djangoproject.com/ticket/15288> 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.
