#26667: Invalid query for OneToOneField if 'to_field'  specified and
primary_key=True
-------------------------------------+-------------------------------------
     Reporter:  kwist                |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.9
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  OneToOneField        |             Triage Stage:  Accepted
  to_field primary_key               |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"8996054cb4b3cfb88ee4d8896fa53424440a2564" 8996054]:
 {{{
 #!CommitTicketReference repository=""
 revision="8996054cb4b3cfb88ee4d8896fa53424440a2564"
 [1.10.x] Fixed #26667 -- Fixed a regression in queries on a OneToOneField
 that has to_field and primary_key=True.

 Thanks Simon Charette for review.

 Backport of e2296e7f0acf9c50868ab997ba565c1f47beb45b from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26667#comment:6>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.2411ca48f2e1d0eed61f005671473256%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to