#28208: DjangoJsonEncoder does not encode Queryset
-------------------------------------+-------------------------------------
Reporter: Abraham González | Owner: nobody
Ramírez |
Type: New feature | Status: new
Component: Core | Version: 1.11
(Serialization) |
Severity: Normal | Resolution:
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
-------------------------------------+-------------------------------------
Comment (by Abraham González Ramírez):
Replying to [comment:3 Tim Graham]:
> Can you elaborate on the use case for creating a wrapper around
`DjangoJSONEncoder` to include `QuerySet`?
We are using a Front-end framework that need to receive a JSON for
rendering a collection. So we need to include a {{{Queryset}} into a
wrapper of {{{DjangoJSONEncoder}}} to be able to serialize {{{QuerySet}}}
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/28208#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/068.a36c2cf72c51bb5f38a1c08dcdde2147%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.