#30355: Specifying custom manager doesn't work with prefetch
-------------------------------+------------------------------------
     Reporter:  Kyle Mulka     |                    Owner:  (none)
         Type:  Bug            |                   Status:  new
    Component:  Documentation  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  1
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------
Changes (by Simon Charette):

 * needs_docs:  0 => 1
 * component:  Database layer (models, ORM) => Documentation


Comment:

 I agree that it's more of a documentation issue as `prefetch_related` will
 use the default manager just like accessing a related manager does.

 In other words `Business.objects.prefetch_related('review_set')` will use
 the default manager just like `business.review_set.all()` does.

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

Reply via email to