2015-11-05 16:22:12 +08:00
|
|
|
==========================
|
|
|
|
Django 1.8.7 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
|
|
|
Django 1.8.7 fixes several bugs in 1.8.6.
|
|
|
|
|
2015-11-11 11:05:48 +08:00
|
|
|
Additionally, Django's vendored version of six, :mod:`django.utils.six`, has
|
|
|
|
been upgraded to the latest release (1.10.0).
|
|
|
|
|
2015-11-05 16:22:12 +08:00
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2015-11-07 23:12:13 +08:00
|
|
|
* Fixed a crash of the debug view during the autumn DST change when
|
|
|
|
:setting:`USE_TZ` is ``False`` and ``pytz`` is installed.
|
|
|
|
|
2015-11-09 23:58:48 +08:00
|
|
|
* Fixed a regression in 1.8.6 that caused database routers without an
|
|
|
|
``allow_migrate()`` method to crash (:ticket:`25686`).
|
2015-11-06 01:02:18 +08:00
|
|
|
|
|
|
|
* Fixed a regression in 1.8.6 by restoring the ability to use ``Manager``
|
|
|
|
objects for the ``queryset`` argument of ``ModelChoiceField``
|
|
|
|
(:ticket:`25683`).
|
2015-11-10 23:42:32 +08:00
|
|
|
|
|
|
|
* Fixed a regression in 1.8.6 that caused an application with South migrations
|
|
|
|
in the ``migrations`` directory to fail (:ticket:`25618`).
|
2015-11-07 03:18:00 +08:00
|
|
|
|
|
|
|
* Fixed a data loss possibility with :class:`~django.db.models.Prefetch` if
|
|
|
|
``to_attr`` is set to a ``ManyToManyField`` (:ticket:`25693`).
|
2015-11-09 21:58:24 +08:00
|
|
|
|
|
|
|
* 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`).
|
2015-11-12 05:58:47 +08:00
|
|
|
|
|
|
|
* Fixed serialization of
|
|
|
|
:class:`~django.contrib.postgres.fields.DateRangeField` and
|
|
|
|
:class:`~django.contrib.postgres.fields.DateTimeRangeField` (:ticket:`24937`).
|
2015-11-07 20:52:40 +08:00
|
|
|
|
|
|
|
* Fixed the exact lookup of ``ArrayField`` (:ticket:`25666`).
|
2015-11-20 23:31:33 +08:00
|
|
|
|
|
|
|
* Fixed ``Model.refresh_from_db()`` updating of ``ForeignKey`` fields with
|
|
|
|
``on_delete=models.SET_NULL`` (:ticket:`25715`).
|