#25201: Allow use_for_related_fields via as_manager()
----------------------------------------------+--------------------
     Reporter:  litchfield                    |      Owner:  nobody
         Type:  New feature                   |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  1.8
     Severity:  Normal                        |   Keywords:
 Triage Stage:  Unreviewed                    |  Has patch:  1
Easy pickings:  1                             |      UI/UX:  0
----------------------------------------------+--------------------
 The as_manager() method allows easy creation of chain-able managers. One
 of the most common use cases for these is with related fields. However,
 as_manager() doesn't currently allow use_for_related_fields to be
 specified. This patch proposes it could be set simply by way of an
 attribute on the QuerySet class, in the same way it currently does for
 Manager classes.

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

Reply via email to