Debian Codegraph @

docs/releases/1.8.6.txt

raw
1 ==========================
2 Django 1.8.6 release notes
3 ==========================
4
5 *November 4, 2015*
6
7 Django 1.8.6 adds official support for Python 3.5 and fixes several bugs in
8 1.8.5.
9
10 Bugfixes
11 ========
12
13 * Fixed a regression causing ``ModelChoiceField`` to ignore
14 ``prefetch_related()`` on its queryset (:ticket:`25496`).
15
16 * Allowed "mode=memory" in SQLite test database name if supported
17 (:ticket:`12118`).
18
19 * Fixed system check crash on ``ForeignKey`` to abstract model
20 (:ticket:`25503`).
21
22 * Fixed incorrect queries when you have multiple ``ManyToManyField``\s on
23 different models that have the same field name, point to the same model, and
24 have their reverse relations disabled (:ticket:`25545`).
25
26 * Allowed filtering over a ``RawSQL`` annotation (:ticket:`25506`).
27
28 * Made the ``Concat`` database function idempotent on SQLite (:ticket:`25517`).
29
30 * Avoided a confusing stack trace when starting :djadmin:`runserver` with an
31 invalid :setting:`INSTALLED_APPS` setting (:ticket:`25510`). This regression
32 appeared in 1.8.5 as a side effect of fixing :ticket:`24704`.
33
34 * Made deferred models use their proxied model's ``_meta.apps`` for caching
35 and retrieval (:ticket:`25563`). This prevents any models generated in data
36 migrations using ``QuerySet.defer()`` from leaking to test and application
37 code.
38
39 * Fixed a typo in the name of the ``strictly_above`` PostGIS lookup
40 (:ticket:`25592`).
41
42 * Fixed crash with ``contrib.postgres.forms.SplitArrayField`` and
43 ``IntegerField`` on invalid value (:ticket:`25597`).
44
45 * Added a helpful error message when Django and South migrations exist in the
46 same directory (:ticket:`25618`).
47
48 * Fixed a regression in ``URLValidator`` that allowed URLs with consecutive
49 dots in the domain section (like ``http://example..com/``) to pass
50 (:ticket:`25620`).
51
52 * Fixed a crash with ``GenericRelation`` and
53 ``BaseModelAdmin.to_field_allowed`` (:ticket:`25622`).