#17696: Queryset prefetch_related() ignores using()
----------------------------------------------+----------------------------
     Reporter:  simon29                       |      Owner:  nobody
         Type:  Bug                           |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  SVN
     Severity:  Normal                        |   Keywords:
 Triage Stage:  Unreviewed                    |  prefetch_related
Easy pickings:  1                             |  Has patch:  0
                                              |      UI/UX:  0
----------------------------------------------+----------------------------
 Example --

 {{{
 MyModel.objects.using('mydatabase').prefetch_related('field').all()
 }}}

 It appears the using() part is ignored, the 'default' database is used
 instead (r17428).

 Happy to submit a patch if it'll be used.....

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17696>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to