2015-10-04 07:58:02 +08:00
|
|
|
==========================
|
|
|
|
Django 1.8.6 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Under Development*
|
|
|
|
|
2015-10-24 21:36:29 +08:00
|
|
|
Django 1.8.6 adds official support for Python 3.5 and fixes several bugs in
|
|
|
|
1.8.5.
|
2015-10-04 07:58:02 +08:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2015-10-06 06:21:56 +08:00
|
|
|
* Fixed a regression causing ``ModelChoiceField`` to ignore
|
|
|
|
``prefetch_related()`` on its queryset (:ticket:`25496`).
|
2015-10-06 01:25:06 +08:00
|
|
|
|
|
|
|
* Allowed "mode=memory" in SQLite test database name if supported
|
|
|
|
(:ticket:`12118`).
|
2015-10-06 04:29:23 +08:00
|
|
|
|
|
|
|
* Fixed system check crash on ``ForeignKey`` to abstract model
|
|
|
|
(:ticket:`25503`).
|
2015-10-06 04:13:14 +08:00
|
|
|
|
2015-10-15 03:22:53 +08:00
|
|
|
* Fixed incorrect queries when you have multiple ``ManyToManyField``\s on
|
|
|
|
different models that have the same field name, point to the same model, and
|
|
|
|
have their reverse relations disabled (:ticket:`25545`).
|
|
|
|
|
2015-10-06 04:13:14 +08:00
|
|
|
* Allowed filtering over a ``RawSQL`` annotation (:ticket:`25506`).
|
2015-10-14 07:07:42 +08:00
|
|
|
|
|
|
|
* Made the ``Concat`` database function idempotent on SQLite (:ticket:`25517`).
|
2015-10-16 04:03:25 +08:00
|
|
|
|
|
|
|
* Avoided a confusing stack trace when starting :djadmin:`runserver` with an
|
|
|
|
invalid :setting:`INSTALLED_APPS` setting (:ticket:`25510`). This regression
|
|
|
|
appeared in 1.8.5 as a side effect of fixing :ticket:`24704`.
|
2015-10-20 02:17:55 +08:00
|
|
|
|
|
|
|
* Made deferred models use their proxied model's ``_meta.apps`` for caching
|
|
|
|
and retrieval (:ticket:`25563`). This prevents any models generated in data
|
|
|
|
migrations using ``QuerySet.defer()`` from leaking to test and application
|
|
|
|
code.
|
2015-10-22 20:42:18 +08:00
|
|
|
|
|
|
|
* Fixed a typo in the name of the `strictly_above` PostGIS lookup
|
|
|
|
(:ticket:`25592`).
|
2015-10-27 07:37:47 +08:00
|
|
|
|
|
|
|
* Fixed crash with ``contrib.postgres.forms.SplitArrayField`` and
|
|
|
|
``IntegerField`` on invalid value (:ticket:`25597`).
|
2015-10-28 02:20:06 +08:00
|
|
|
|
|
|
|
* Added a helpful error message when Django and South migrations exist in the
|
|
|
|
same directory (:ticket:`25618`).
|
2015-10-28 14:54:57 +08:00
|
|
|
|
|
|
|
* Fixed a regression in ``URLValidator`` that allowed URLs with consecutive
|
|
|
|
dots in the domain section (like ``http://example..com/``) to pass
|
|
|
|
(:ticket:`25620`).
|
2015-10-28 23:25:25 +08:00
|
|
|
|
|
|
|
* Fixed a crash with ``GenericRelation`` and
|
|
|
|
``BaseModelAdmin.to_field_allowed`` (:ticket:`25622`).
|