2015-12-02 08:16:24 +08:00
|
|
|
==========================
|
|
|
|
Django 1.9.1 release notes
|
|
|
|
==========================
|
|
|
|
|
2016-01-02 21:35:54 +08:00
|
|
|
*January 2, 2016*
|
2015-12-02 08:16:24 +08:00
|
|
|
|
|
|
|
Django 1.9.1 fixes several bugs in 1.9.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2015-12-02 18:34:31 +08:00
|
|
|
* Fixed ``BaseCache.get_or_set()`` with the ``DummyCache`` backend
|
|
|
|
(:ticket:`25840`).
|
2015-12-07 21:17:01 +08:00
|
|
|
|
|
|
|
* Fixed a regression in ``FormMixin`` causing forms to be validated twice
|
2015-12-31 05:22:58 +08:00
|
|
|
(:ticket:`25548`, :ticket:`26018`).
|
2015-12-05 02:14:12 +08:00
|
|
|
|
|
|
|
* Fixed a system check crash with nested ``ArrayField``\s (:ticket:`25867`).
|
2015-12-09 01:03:31 +08:00
|
|
|
|
|
|
|
* Fixed a state bug when migrating a ``SeparateDatabaseAndState`` operation
|
|
|
|
backwards (:ticket:`25896`).
|
2015-12-09 19:07:02 +08:00
|
|
|
|
|
|
|
* Fixed a regression in ``CommonMiddleware`` causing ``If-None-Match`` checks
|
|
|
|
to always return HTTP 200 (:ticket:`25900`).
|
2015-11-08 00:08:03 +08:00
|
|
|
|
|
|
|
* Fixed missing ``varchar/text_pattern_ops`` index on ``CharField`` and
|
|
|
|
``TextField`` respectively when using ``AlterField`` on PostgreSQL
|
|
|
|
(:ticket:`25412`).
|
2015-12-10 15:06:01 +08:00
|
|
|
|
|
|
|
* Fixed admin's delete confirmation page's summary counts of related objects
|
|
|
|
(:ticket:`25883`).
|
2015-12-10 22:13:05 +08:00
|
|
|
|
|
|
|
* Added ``from __future__ import unicode_literals`` to the default ``apps.py``
|
|
|
|
created by ``startapp`` on Python 2 (:ticket:`25909`). Add this line to your
|
|
|
|
own ``apps.py`` files created using Django 1.9 if you want your migrations
|
|
|
|
to work on both Python 2 and Python 3.
|
2015-12-14 12:46:41 +08:00
|
|
|
|
|
|
|
* Prevented ``QuerySet.delete()`` from crashing on MySQL when querying across
|
2016-03-05 03:16:56 +08:00
|
|
|
relations (:ticket:`25882`).
|
2015-12-10 18:42:25 +08:00
|
|
|
|
|
|
|
* Fixed evaluation of zero-length slices of ``QuerySet.values()``
|
|
|
|
(:ticket:`25894`).
|
2015-12-14 14:20:10 +08:00
|
|
|
|
|
|
|
* Fixed a state bug when using an ``AlterModelManagers`` operation
|
|
|
|
(:ticket:`25852`).
|
2015-12-17 06:07:17 +08:00
|
|
|
|
|
|
|
* Fixed ``TypedChoiceField`` change detection with nullable fields
|
|
|
|
(:ticket:`25942`).
|
2015-12-16 22:11:00 +08:00
|
|
|
|
|
|
|
* Fixed incorrect timezone warnings in custom admin templates that don't have
|
|
|
|
a ``data-admin-utc-offset`` attribute in the ``body`` tag.
|
|
|
|
(:ticket:`25845`).
|
2015-12-19 00:00:53 +08:00
|
|
|
|
|
|
|
* Fixed a regression which prevented using a language not in Django's default
|
|
|
|
language list (:setting:`LANGUAGES`) (:ticket:`25915`).
|
2015-12-19 08:14:30 +08:00
|
|
|
|
|
|
|
* Avoided hiding some exceptions, like an invalid ``INSTALLED_APPS`` setting,
|
|
|
|
behind ``AppRegistryNotReady`` when starting ``runserver`` (:ticket:`25510`).
|
|
|
|
This regression appeared in 1.8.5 as a side effect of fixing :ticket:`24704`
|
|
|
|
and by mistake the fix wasn't applied to the ``stable/1.9.x`` branch.
|
2015-12-19 21:53:53 +08:00
|
|
|
|
|
|
|
* Fixed ``migrate --fake-initial`` detection of many-to-many tables
|
|
|
|
(:ticket:`25922`).
|
2015-12-21 21:36:41 +08:00
|
|
|
|
|
|
|
* Restored the functionality of the admin's ``list_editable`` add and change
|
|
|
|
buttons (:ticket:`25903`).
|
2015-12-23 07:22:54 +08:00
|
|
|
|
|
|
|
* Fixed ``isnull`` query lookup for ``ForeignObject``
|
|
|
|
(:ticket:`25972`).
|
2015-12-25 05:32:53 +08:00
|
|
|
|
|
|
|
* Fixed a regression in the admin which ignored line breaks in read-only fields
|
|
|
|
instead of converting them to ``<br>`` (:ticket:`25465`).
|
2015-12-30 02:58:43 +08:00
|
|
|
|
|
|
|
* Fixed incorrect object reference in
|
|
|
|
``SingleObjectMixin.get_context_object_name()`` (:ticket:`26006`).
|
2015-12-30 00:29:11 +08:00
|
|
|
|
|
|
|
* Made ``loaddata`` skip disabling and enabling database constraints when it
|
|
|
|
doesn't load any fixtures (:ticket:`23372`).
|
2016-01-02 19:44:06 +08:00
|
|
|
|
|
|
|
* Restored ``contrib.auth`` hashers compatibility with py-bcrypt
|
|
|
|
(:ticket:`26016`).
|
2015-12-24 23:42:49 +08:00
|
|
|
|
|
|
|
* Fixed a crash in ``QuerySet.values()/values_list()`` after an ``annotate()``
|
|
|
|
and ``order_by()`` when ``values()/values_list()`` includes a field not in
|
|
|
|
the ``order_by()`` (:ticket:`25316`).
|