Re: [Django] #30368: Prefetch related is not working when used GFK for model that uses FK as PK.

2019-04-16 Thread Django
#30368: Prefetch related is not working when used GFK for model that uses FK as 
PK.
-+-
 Reporter:  Vinny Do |Owner:  Vinny Do
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  prefetch_related | Triage Stage:  Accepted
  genericforeignkey  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"a4055adf702d086334a9ab2ca25a5e41e896a4fb" a4055adf]:
 {{{
 #!CommitTicketReference repository=""
 revision="a4055adf702d086334a9ab2ca25a5e41e896a4fb"
 Fixed #30368 -- Fixed prefetch_related() for GenericForeignKey when PK is
 also a FK.
 }}}

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.fb862f29d78ca35633830955c94480fd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30368: Prefetch related is not working when used GFK for model that uses FK as PK. (was: prefetch_related does not work for GenericForeignKey field when its primary key is also a foreign

2019-04-15 Thread Django
#30368: Prefetch related is not working when used GFK for model that uses FK as 
PK.
-+-
 Reporter:  Vinny Do |Owner:  Vinny Do
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  prefetch_related | Triage Stage:  Accepted
  genericforeignkey  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by felixxm):

 * status:  new => assigned
 * owner:  nobody => Vinny Do
 * stage:  Unreviewed => Accepted


Comment:

 [https://github.com/django/django/pull/11234 PR]

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.5af9ec91e7db5a3df57c2514f1d5816b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.