#24272: Better error messages for prefetch_related
-------------------------------------+-------------------------------------
     Reporter:  asdator              |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  prefetch_related,    |             Triage Stage:  Accepted
  GenericRelation,                   |
  related_query_name                 |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by asdator):

 I think the proposal is implementable. Here is an django-app which I just
 found which seems like implements the main part of the problem (where
 django get's confused to prefetch different type of FK's from
 'content_object').

 [https://bitbucket.org/andrew_pashkin/django-deep-prefetch/overview
 django-deep-prefetch]

 Found the app from this ticket:
 [https://code.djangoproject.com/ticket/22014 #22014]

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

Reply via email to