The output structure is different for the GeoJSON serializer, so the
primary key should be present in the `properties` member in the structure
of each feature.
--
Ticket URL: <https://code.djangoproject.com/ticket/26266>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/6183 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/26266#comment:1>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/26266#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"c5517b9e7439e542b381a0054bbdab9b5d2bc34b" c5517b9e]:
{{{
#!CommitTicketReference repository=""
revision="c5517b9e7439e542b381a0054bbdab9b5d2bc34b"
Fixed #26266 -- Output the primary key in the GeoJSON serializer
properties
Thanks Tim Graham for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26266#comment:3>