#28208: DjangoJsonEncoder does not encode Queryset
-------------------------------------+-------------------------------------
     Reporter:  Abraham González     |                    Owner:  nobody
  Ramírez                            |
         Type:  New feature          |                   Status:  closed
    Component:  Core                 |                  Version:  1.11
  (Serialization)                    |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  QuerySet             |             Triage Stage:
  DjangoJSONEncoder                  |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 You might consider third-party packages such as [http://www.django-rest-
 framework.org/ django REST framework] rather than building your own
 serialization. I think queryset serialization is too nuanced (for example,
 which fields should be serialized?) to add it to `DjangoJSONEncoder` which
 serializes basic data types.

--
Ticket URL: <https://code.djangoproject.com/ticket/28208#comment:5>
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/068.bf2f367f15bf494ed515eceabdd1dc15%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to