#27414: Document that aliasing ForeignKey fields in F expressions returns pk
values, not model instances
-------------------------------------+-------------------------------------
     Reporter:  MikiSoft             |                    Owner:  Jop
         Type:                       |  Reyntjes
  Cleanup/optimization               |                   Status:  closed
    Component:  Documentation        |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    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:"89d960121d97a3c2fc8bc768f75bc24f43838c6c" 89d9601]:
 {{{
 #!CommitTicketReference repository=""
 revision="89d960121d97a3c2fc8bc768f75bc24f43838c6c"
 [1.10.x] Fixed #27414 -- Doc'd that F() expressions on relations return pk
 values.

 Backport of f8fab6f90233c7114d642dfe01a4e6d4cb14ee7d from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27414#comment:7>
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/066.12ccdbe95b17578db04f13fb8aecfa7c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to