#33011: my_model.manyrelation_set.all() return empty value
-------------------------------------+-------------------------------------
     Reporter:  Floréal Cabanettes   |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  model set querying   |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson):

 Hi Floréal — thanks for the further detail.

 Can you give some indication of the prefetch usage in the `get_queryset()`
 method here please:

 {{{
 my_run = self.get_queryset().get(pk=pk)
 }}}


 Thanks.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33011#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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.be7926ab623f6dfafde305deefb18dbb%40djangoproject.com.

Reply via email to