2016-08-01 18:57:10 +00:00
|
|
|
===========================
|
|
|
|
Django 1.10.1 release notes
|
|
|
|
===========================
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
|
|
|
Django 1.10.1 fixes several bugs in 1.10.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2016-08-02 14:52:31 +00:00
|
|
|
* Fixed a crash in MySQL connections where ``SELECT @@SQL_AUTO_IS_NULL``
|
|
|
|
doesn't return a result (:ticket:`26991`).
|
2016-08-02 13:32:00 +00:00
|
|
|
|
|
|
|
* Allowed ``User.is_authenticated`` and ``User.is_anonymous`` properties to be
|
|
|
|
compared using ``==`` and ``!=`` (:ticket:`26988`).
|
2016-08-02 22:50:12 +00:00
|
|
|
|
|
|
|
* Removed the broken ``BaseCommand.usage()`` method which was for
|
|
|
|
``optparse`` support (:ticket:`27000`).
|
2016-08-02 19:19:01 +00:00
|
|
|
|
|
|
|
* Fixed a checks framework crash with an empty ``Meta.default_permissions``
|
|
|
|
(:ticket:`26997`).
|
2016-08-03 03:12:06 +00:00
|
|
|
|
|
|
|
* Fixed a regression in the number of queries when using ``RadioSelect`` with a
|
|
|
|
``ModelChoiceField`` form field (:ticket:`27001`).
|
2016-08-03 16:46:57 +00:00
|
|
|
|
|
|
|
* Fixed a crash if ``request.META['CONTENT_LENGTH']`` is an empty string
|
|
|
|
(:ticket:`27005`).
|
2016-08-02 15:27:45 +00:00
|
|
|
|
|
|
|
* Fixed the ``isnull`` lookup on a ``ForeignKey`` with its ``to_field``
|
2016-08-17 20:09:50 +00:00
|
|
|
pointing to a ``CharField`` or pointing to a ``CharField`` defined with
|
|
|
|
``primary_key=True`` (:ticket:`26983`).
|
2016-08-04 23:37:42 +00:00
|
|
|
|
|
|
|
* Prevented the ``migrate`` command from raising
|
|
|
|
``InconsistentMigrationHistory`` in the presence of unapplied squashed
|
|
|
|
migrations (:ticket:`27004`).
|
2016-08-06 00:18:12 +00:00
|
|
|
|
|
|
|
* Fixed a regression in ``Client.force_login()`` which required specifying a
|
|
|
|
``backend`` rather than automatically using the first one if multiple
|
|
|
|
backends are configured (:ticket:`27027`).
|
2016-08-05 21:57:55 +00:00
|
|
|
|
|
|
|
* Made ``QuerySet.bulk_create()`` properly initialize model instances on
|
|
|
|
backends, such as PostgreSQL, that support returning the IDs of the created
|
|
|
|
records so that many-to-many relationships can be used on the new objects
|
|
|
|
(:ticket:`27026`).
|
2016-08-10 15:27:03 +00:00
|
|
|
|
|
|
|
* Fixed crash of ``django.views.static.serve()`` with ``show_indexes`` enabled
|
|
|
|
(:ticket:`26973`).
|
2016-08-12 17:59:01 +00:00
|
|
|
|
|
|
|
* Fixed ``ClearableFileInput`` to avoid the ``required`` HTML attribute when
|
|
|
|
initial data exists (:ticket:`27037`).
|
2016-08-15 17:18:48 +00:00
|
|
|
|
|
|
|
* Fixed annotations with database functions when combined with lookups on
|
|
|
|
PostGIS (:ticket:`27014`).
|
2016-08-15 19:39:22 +00:00
|
|
|
|
|
|
|
* Reallowed the ``{% for %}`` tag to unpack any iterable (:ticket:`27058`).
|
2016-08-13 09:33:58 +00:00
|
|
|
|
|
|
|
* Fixed ``makemigrations`` crash if a database is read-only (:ticket:`27054`).
|
2016-08-18 18:24:45 +00:00
|
|
|
|
|
|
|
* Removed duplicated managers in ``Model._meta.managers`` (:ticket:`27073`).
|