1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

Fixed #33742 -- Added id to GeoJSON serializer.

This commit is contained in:
Samir Shah
2022-05-28 12:33:15 +03:00
committed by Mariusz Felisiak
parent 9a3b7e5e2b
commit 6f73eb9d90
4 changed files with 26 additions and 1 deletions

View File

@@ -53,7 +53,9 @@ Minor features
:mod:`django.contrib.gis`
~~~~~~~~~~~~~~~~~~~~~~~~~
* ...
* The :doc:`GeoJSON serializer </ref/contrib/gis/serializers>` now outputs the
``id`` key for serialized features, which defaults to the primary key of
objects.
:mod:`django.contrib.messages`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~