On 6 kesä, 02:05, Àlex Pérez <[email protected]> wrote: > Can someone tell me why the or in that query: > print Counter.on_medicos.filter(loc__isnull=True).only("id").query > > ""SELECT `web_counter`.`id` FROM `web_counter` LEFT OUTER JOIN > `locations_localidad` ON (`web_counter`.`loc` = `locations_localidad`.`id`) > WHERE (`web_counter`.`mode` = 1 AND `locations_localidad`.`id` IS NULL)""" > > The orm is making a JOIN?? i can't understant!
1.6 should not create a join in this case. - Anssi -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

