Hello, I'm displaying lot of user profile picture with are on a user profile (i'm using contrib.auth). So for each picture I have a query for the user profile.
I wanted to use User.objects.filter(stuff).select_related ('userprofile') but this has no effect. Any ideas how to prevent the +200 queries from happening? Regards, Luis --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---