#35442: QuerySet.only() causes n+1 queries with reverse foreign key relation 
when
related id is not included.
-------------------------------------+-------------------------------------
     Reporter:  REGNIER Guillaume    |                    Owner:  Samriddha
                                     |  Kumar Tripathi
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  4.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Samriddha Kumar Tripathi):

 * owner:  Rish => Samriddha Kumar Tripathi

Comment:

 I would like to work on this ticket
 ( I will change the owner to me but if someone wants to work on this
 ticket they are welcome to change the ownership to themselves )
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35442#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019b82d9507b-f60d858b-465b-493a-8345-bff77929489c-000000%40eu-central-1.amazonses.com.

Reply via email to