#26256: JSON serializer for subset of fields.
--------------------------------------+------------------------------------
Reporter: sonus21 | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by sonus21):
Replying to [comment:2 claudep]:
> The behavior is consistent. However the documentation could be a little
clearer about the structure which will be serialized for a subset of
fields. That is the basic structure with `fields`/`model`/`pk` is still
output, but the `fields` content is filtered.
Yeah that is correct. But serializers output fields with only one value
"name" and "id" is also missing.
--
Ticket URL: <https://code.djangoproject.com/ticket/26256#comment:3>
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/065.bf66e6888117fd0fa70fd2e4cdeafd38%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.