#13902: When using a ManyToMany in list_filter, results may apper more than once
-------------------------------------------+--------------------------------
Reporter: rasca | Owner: rasca
Status: new | Milestone:
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords: admin change_list
list_filter manytomany
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Comment (by Alex):
I'd be -1 on using distinct() everywhere, there are DB engines that don't
support distinct, and list filter should work on them. Also it seems it
could use the same logic as here:
http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/views/main.py#L208
if there's a MultipleRel it can be duplicate, just call it then.
--
Ticket URL: <http://code.djangoproject.com/ticket/13902#comment:3>
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.