#8046: filter() on a related multi-valued manager joins to too many tables.
---------------------------------------+------------------------------------
Reporter: mtredinnick | Owner: mtredinnick
Status: new | Milestone: 1.0
Component: Database wrapper | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------+------------------------------------
Comment (by uzi):
And to summarize that post of mine: "There should be a clean way to query
a M2M relationship and filter based on the intermediate table." Right
now, the ManyToManyField(through=...) feature doesn't appear to work that
way, and I'll argue that it's confusing and incorrect... and I'm glad you
(seem to) agree with me, Malcolm.
By all means, let me know if there's anything you'd like me to help with
or test.
--
Ticket URL: <http://code.djangoproject.com/ticket/8046#comment:3>
Django Code <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
-~----------~----~----~----~------~----~------~--~---