Malcolm -- Thanks for pointing me to that ticket -- I've composed a short patch that I believe addresses the issue. I've attached it to the ticket for review.
http://code.djangoproject.com/attachment/ticket/5937/django-generic-relation-query.patch -jag On 11/16/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > > On Fri, 2007-11-16 at 16:54 -0500, Joshua 'jag' Ginsberg wrote: > [...] > > So it looks like we're joining to object_permissions twice and only > > constraining that join to instances of the correct permission codename > > on one of those two joins, resulting in one Widget object for every > > object permission there is. That doesn't sound right. > > This might be another variant on #5937. If so, it's at least a known > issue and will be fixed as part of queryset-refactor. > > Malcolm > > -- > Why be difficult when, with a little bit of effort, you could be > impossible. > http://www.pointy-stick.com/blog/ > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
