#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 claudep):
So the question is if the `id` field when explicitly provided should be
present even when it is already given by the `pk` field at the first
level. Once again, this might be documented like "the primary key field is
always produced in the `pk` field, even if you specify it in the fields
parameter".
--
Ticket URL: <https://code.djangoproject.com/ticket/26256#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/065.dc0828f706d58a6421dd6823920b0524%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.