On Feb 18, 10:48 am, "Honza Král" <[EMAIL PROTECTED]> wrote:
> On 2/18/07, Tom? Pokorn? <[EMAIL PROTECTED]> wrote:
>
> >  models.py attached.
>
> > On Sun, 2007-02-18 at 16:51 +0100, Honza Kr?l wrote:
>
> > > that's odd can you post your Model definition?
>
> definitely odd, list_select_related appears to have no effect on the
> sql queries.
> even if I add photo to list_display, it still doesn't do a
> select_related() query, which it should...
>
> I don't have to delve deeper at the moment, but something is
> definitely wrong here...
> I will try and have a look later... but I still hope I missed
> something obvious...

I think I might have encountered this bug before too, and I think the
problem arises when you use a related object in the __str__ method.


--~--~---------~--~----~------------~-------~--~----~
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