On Wed, 2009-05-27 at 08:30 -0500, Alex Gaynor wrote:
> Because of the way SQL works when filtering on a many to many / or
> reverse foreign key in certain ways you can get duplicates, you can
> use distinct();
> http://docs.djangoproject.com/en/dev/ref/models/querysets/#distinct to
> remove these.

Ah, that explains it.  Thanks, Alex[0].


Dan


[Footnote 0: Thalex.]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to