From 2926559cce34e48efb4b073721926d737e372dd3 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 5 Jun 2015 21:56:00 +0100 Subject: Fixed #24937 -- fix serialization of Date(Time)RangeField. Use the DjangoJSONEncoder so that datetime and date are encoded appropriately. --- docs/releases/1.9.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index 793dcd6a82..c6467d9f65 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -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` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- cgit v1.3