#15648: Allow QuerySet.values_list() to return a namedtuple
-------------------------------------+-------------------------------------
     Reporter:  Paul Miller          |                    Owner:  Paul
                                     |  Miller
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  namedtuple, tuple,   |             Triage Stage:  Accepted
  queryset                           |
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Andrii Soldatenko):

 Does anyone works on this FR? I would like to help.
 What's the final decision?

 Do I need use this approach?
 `Item.objects.values_list(*names_list, named=True)`

 thanks.

--
Ticket URL: <https://code.djangoproject.com/ticket/15648#comment:20>
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/064.cb1c27103903d0cce1998fe713cfebd4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to