#8090: Problem in serializing the list returned from objects.values_list()
-------------------------------------+-------------------------------------
     Reporter:  shavin               |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  closed
    Component:  Core                 |                  Version:  master
  (Serialization)                    |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by deryckh):

 * ui_ux:   => 0
 * type:   => Uncategorized
 * severity:   => Normal
 * easy:   => 0


Comment:

 I know this is an old bug, but it's still an issue with current Django, as
 of 1.7 at least. I know Russell closed this on the grounds that a
 ValuesListQuerySet is not a list, but I do think it's a bug that you can
 indeed use a flat ValuesListQuerySet like a list everywhere except when
 passing it to the json serializer. If it looks like a list, it ought to
 act like a list, no?

--
Ticket URL: <https://code.djangoproject.com/ticket/8090#comment:4>
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.93c22bd53b5d09480b584ffdb0d1473c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to