|
| 1 | +=========================== |
| 2 | +Django 1.10.1 release notes |
| 3 | +=========================== |
| 4 | + |
| 5 | +*Under development* |
| 6 | + |
| 7 | +Django 1.10.1 fixes several bugs in 1.10. |
| 8 | + |
| 9 | +Bugfixes |
| 10 | +======== |
| 11 | + |
| 12 | +* Fixed a crash in MySQL connections where ``SELECT @@SQL_AUTO_IS_NULL`` |
| 13 | + doesn't return a result (:ticket:`26991`). |
| 14 | + |
| 15 | +* Allowed ``User.is_authenticated`` and ``User.is_anonymous`` properties to be |
| 16 | + compared using ``==`` and ``!=`` (:ticket:`26988`). |
| 17 | + |
| 18 | +* Removed the broken ``BaseCommand.usage()`` method which was for |
| 19 | + ``optparse`` support (:ticket:`27000`). |
| 20 | + |
| 21 | +* Fixed a checks framework crash with an empty ``Meta.default_permissions`` |
| 22 | + (:ticket:`26997`). |
| 23 | + |
| 24 | +* Fixed a regression in the number of queries when using ``RadioSelect`` with a |
| 25 | + ``ModelChoiceField`` form field (:ticket:`27001`). |
| 26 | + |
| 27 | +* Fixed a crash if ``request.META['CONTENT_LENGTH']`` is an empty string |
| 28 | + (:ticket:`27005`). |
| 29 | + |
| 30 | +* Fixed the ``isnull`` lookup on a ``ForeignKey`` with its ``to_field`` |
| 31 | + pointing to a ``CharField`` (:ticket:`26983`). |
| 32 | + |
| 33 | +* Prevented the ``migrate`` command from raising |
| 34 | + ``InconsistentMigrationHistory`` in the presence of unapplied squashed |
| 35 | + migrations (:ticket:`27004`). |
| 36 | + |
| 37 | +* Fixed a regression in ``Client.force_login()`` which required specifying a |
| 38 | + ``backend`` rather than automatically using the first one if multiple |
| 39 | + backends are configured (:ticket:`27027`). |
| 40 | + |
| 41 | +* Made ``QuerySet.bulk_create()`` properly initialize model instances on |
| 42 | + backends, such as PostgreSQL, that support returning the IDs of the created |
| 43 | + records so that many-to-many relationships can be used on the new objects |
| 44 | + (:ticket:`27026`). |
| 45 | + |
| 46 | +* Fixed crash of ``django.views.static.serve()`` with ``show_indexes`` enabled |
| 47 | + (:ticket:`26973`). |
| 48 | + |
| 49 | +* Fixed ``ClearableFileInput`` to avoid the ``required`` HTML attribute when |
| 50 | + initial data exists (:ticket:`27037`). |
| 51 | + |
| 52 | +* Fixed annotations with database functions when combined with lookups on |
| 53 | + PostGIS (:ticket:`27014`). |
0 commit comments