diff options
| author | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-06-05 21:56:00 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-11-11 16:53:26 -0500 |
| commit | 3ded51bcf21f384b2e80ce97aff5c12d63e5f0e3 (patch) | |
| tree | aba3de8a35e025addf9a3c031be32124d1b384da /docs | |
| parent | ae4613803cb344a26b158934e785a82147515db0 (diff) | |
[1.8.x] Fixed #24937 -- Fixed serialization of Date(Time)RangeField.
Use the DjangoJSONEncoder so that datetime and date are encoded
appropriately.
Backport of 2926559cce34e48efb4b073721926d737e372dd3 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.8.7.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.8.7.txt b/docs/releases/1.8.7.txt index ec9f310ad9..f73d53e799 100644 --- a/docs/releases/1.8.7.txt +++ b/docs/releases/1.8.7.txt @@ -30,3 +30,7 @@ Bugfixes * Fixed a regression in 1.8 by making ``gettext()`` once again return UTF-8 bytestrings on Python 2 if the input is a bytestring (:ticket:`25720`). + +* Fixed serialization of + :class:`~django.contrib.postgres.fields.DateRangeField` and + :class:`~django.contrib.postgres.fields.DateTimeRangeField` (:ticket:`24937`). |
