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+unsubscribe@**
> googlegroups.com .
> For m
lexisnexis.at
>
> Tel.: 00431 534521573
>
> Fax: +43 (1) 534 52 - 146
>
>
>
> --
> 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.
>
Sorry, I was wrong, the sintax is:
queryset = Model.objects.filter().select_related('field', 'field2')
2011/12/6 Felipe Morales
> No, when you use the select_related method, the query that generated is:
>
> SELECT * FROM tablename
> INNER JOIN tablename2
rings almost a second J**
> **
>
> Unfortunately the function seems to effect the results.
>
> ** **
>
> If I run the query with select_related() I get 151 objects.
>
> Without select_related() I get 199.
>
> ** **
>
> Is there something I can
users?hl=en.
>
>
> --
> 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...@googlegrou
5 matches
Mail list logo