Sorry, found this: http://code.djangoproject.com/ticket/6432

I think I will probably just denormalize.

Erik

On 20.10.2008, at 17:22, Erik Allik wrote:

>
> I've a feeling that this has been brought up before so my apologies
> just in case my feeling is right!
>
> I'm doing a qs = MyModel.objects.all().select_related("foobars") where
> foobars is a m2m relation. Later when doing qs_item.foobars.all(), a
> database hit is generated. Is this a bug, a feature or am I missing
> something? I also tried MyModel.objects.all().select_related().
>
> Erik
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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