Debian Codegraph @

docs/releases/1.8.5.txt

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