#28375: QuerySet.prefetch_related() crashes with KeyError if model uses to_field
and string primary key
-------------------------------------+-------------------------------------
     Reporter:  Maks Y               |                    Owner:  Paulo
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  1.11
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  prefetch_related     |             Triage Stage:  Accepted
  string primary key.                |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Paulo):

 Hello Tim,
 Will a fix for this be backported to 1.11?
 If that is the case, then I can make sure to base if off of current master
 instead of https://github.com/django/django/pull/6721

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

Reply via email to