2015-08-19 07:52:45 +08:00
|
|
|
==========================
|
|
|
|
Django 1.8.5 release notes
|
|
|
|
==========================
|
|
|
|
|
2015-10-04 07:31:45 +08:00
|
|
|
*October 3, 2015*
|
2015-08-19 07:52:45 +08:00
|
|
|
|
|
|
|
Django 1.8.5 fixes several bugs in 1.8.4.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2015-08-05 17:07:36 +08:00
|
|
|
* Made the development server's autoreload more robust (:ticket:`24704`).
|
|
|
|
|
2015-08-06 03:52:11 +08:00
|
|
|
* Fixed ``AssertionError`` in some delete queries with a model containing a
|
|
|
|
field that is both a foreign and primary key (:ticket:`24951`).
|
2015-08-22 20:50:49 +08:00
|
|
|
|
2015-08-21 00:46:14 +08:00
|
|
|
* Fixed ``AssertionError`` in some complex queries (:ticket:`24525`).
|
|
|
|
|
2015-08-22 20:50:49 +08:00
|
|
|
* Fixed a migrations crash with ``GenericForeignKey`` (:ticket:`25040`).
|
2015-08-24 23:52:58 +08:00
|
|
|
|
2015-08-21 20:09:29 +08:00
|
|
|
* Made ``translation.override()`` clear the overridden language when a
|
|
|
|
translation isn't initially active (:ticket:`25295`).
|
2015-08-24 23:52:58 +08:00
|
|
|
|
|
|
|
* Fixed crash when using a value in ``ModelAdmin.list_display`` that clashed
|
|
|
|
with a reverse field on the model (:ticket:`25299`).
|
2015-09-09 21:38:33 +08:00
|
|
|
|
|
|
|
* Fixed autocompletion for options of non-``argparse`` management commands
|
|
|
|
(:ticket:`25372`).
|
2015-09-12 10:04:27 +08:00
|
|
|
|
|
|
|
* Alphabetized ordering of imports in ``from django.db import migrations,
|
|
|
|
models`` statement in newly created migrations (:ticket:`25384`).
|
2015-09-13 03:06:35 +08:00
|
|
|
|
|
|
|
* Fixed migrations crash on MySQL when adding a text or a blob field with an
|
|
|
|
unhashable default (:ticket:`25393`).
|
2015-09-11 00:07:09 +08:00
|
|
|
|
|
|
|
* Changed ``Count`` queries to execute ``COUNT(*)`` instead of ``COUNT('*')``
|
|
|
|
as versions of Django before 1.8 did (:ticket:`25377`). This may fix a
|
|
|
|
performance regression on some databases.
|
2015-09-02 04:23:06 +08:00
|
|
|
|
|
|
|
* Fixed custom queryset chaining with ``values()`` and ``values_list()``
|
|
|
|
(:ticket:`20625`).
|
2015-09-19 19:36:38 +08:00
|
|
|
|
|
|
|
* Moved the :ref:`unsaved model instance assignment data loss check
|
|
|
|
<unsaved-model-instance-check-18>` on reverse relations to ``Model.save()``
|
|
|
|
(:ticket:`25160`).
|
2015-09-19 20:23:55 +08:00
|
|
|
|
|
|
|
* Readded inline foreign keys to form instances when validating model formsets
|
|
|
|
(:ticket:`25431`).
|
2015-09-22 02:53:10 +08:00
|
|
|
|
|
|
|
* Allowed using ORM write methods after disabling autocommit with
|
|
|
|
:func:`set_autocommit(False) <django.db.transaction.set_autocommit>`
|
|
|
|
(:ticket:`24921`).
|
2015-09-26 04:35:36 +08:00
|
|
|
|
|
|
|
* Fixed the ``manage.py test --keepdb`` option on Oracle (:ticket:`25421`).
|
2015-10-01 06:46:11 +08:00
|
|
|
|
|
|
|
* Fixed incorrect queries with multiple many-to-many fields on a model with the
|
|
|
|
same 'to' model and with ``related_name`` set to '+' (:ticket:`24505`,
|
|
|
|
:ticket:`25486`).
|
2015-09-12 14:06:25 +08:00
|
|
|
|
|
|
|
* Fixed pickling a ``SimpleLazyObject`` wrapping a model (:ticket:`25389`).
|