David Cramer schrieb:

> Why does Django join "files_file" twice? I do a
> .filter(file__game=blah).select_related(fields=['file', 'type']) so it
> joins the files table twice? This would happen the same with a normal
> .select_related() as well. Maybe the SQL engine optimizes this but I'm
> not sure.

Can you please post your model, too?

Michael


-- 
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100

http://www.noris.de - The IT-Outsourcing Company

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