mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24937 -- fix serialization of Date(Time)RangeField.
Use the DjangoJSONEncoder so that datetime and date are encoded appropriately.
This commit is contained in:
@@ -102,6 +102,10 @@ Minor features
|
||||
* Added :class:`~django.contrib.postgres.fields.JSONField`.
|
||||
* Added :doc:`/ref/contrib/postgres/aggregates`.
|
||||
|
||||
* Fixed serialization of
|
||||
:class:`~django.contrib.postgres.fields.DateRangeField` and
|
||||
:class:`~django.contrib.postgres.fields.DateTimeRangeField`.
|
||||
|
||||
:mod:`django.contrib.redirects`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user