#23051: QuerySet.only() fail to work with reverse o2o relationships
-------------------------------------+-------------------------------------
     Reporter:  Vladimir Dmitriev    |                    Owner:  Paulo
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  orm only reverse     |             Triage Stage:  Accepted
  relationship OneToOneField         |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Simon Charette):

 FWIW #34612 was a related regression of 4.2 refactored deferred field
 refactor. We still silence usage of `only` when it refers to related
 models that are not selected so this ticket is still relevant though.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23051#comment:10>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/01070188ad5b9576-7e7c9daf-5b2b-421b-a108-443aae8f6f7c-000000%40eu-central-1.amazonses.com.

Reply via email to