>
> http://www.djangoproject.com/documentation/model_api/#list-select-related
>
a try add
class Admin:
list_select_related = True
to all models, but it has no effect - "Edit Action" is still very
slow.
with this option in all models: 3598 queries
without this option: 3598 queries
-- problem is editing "Action" page, where is a "photo list"
and I need select list of photos AS " SELECT ... photo JOIN album
" instead of many queries
because Photo.__str__() looks uses photo.album....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---