2015-11-25 23:19:32 +08:00
|
|
|
==========================
|
|
|
|
Django 1.8.8 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
|
|
|
Django 1.8.8 fixes several bugs in 1.8.7.
|
|
|
|
|
2015-12-08 03:27:16 +08:00
|
|
|
Python 3.2 users, please be advised that we've decided to drop support for
|
|
|
|
Python 3.2 in Django 1.8.x at the end of 2016. We won't break things
|
|
|
|
intentionally after that, but we won't test subsequent releases against Python
|
|
|
|
3.2 either. Upstream support for Python 3.2 ends February 2016 so we don't find
|
|
|
|
much value in providing security updates for a version of Python that could be
|
|
|
|
insecure. To read more about the decision and to let us know if this will be
|
|
|
|
problematic for you, please read the `django-developers thread
|
|
|
|
<https://groups.google.com/d/topic/django-developers/eMu5UQpUdWs/discussion>`_.
|
|
|
|
|
2015-11-25 23:19:32 +08:00
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2015-11-07 00:29:23 +08:00
|
|
|
* Fixed incorrect ``unique_together`` field name generation by ``inspectdb``
|
|
|
|
(:ticket:`25274`).
|
2015-11-22 08:59:37 +08:00
|
|
|
|
|
|
|
* Corrected ``__len`` query lookup on ``ArrayField`` for empty arrays
|
|
|
|
(:ticket:`25772`).
|
2015-11-25 19:17:59 +08:00
|
|
|
|
|
|
|
* Restored the ability to use custom formats from ``formats.py`` with
|
|
|
|
``django.utils.formats.get_format()`` and the ``date`` template filter
|
|
|
|
(:ticket:`25812`).
|
2015-12-09 01:03:31 +08:00
|
|
|
|
|
|
|
* Fixed a state bug when migrating a ``SeparateDatabaseAndState`` operation
|
|
|
|
backwards (:ticket:`25896`).
|
2015-11-08 00:08:03 +08:00
|
|
|
|
|
|
|
* Fixed missing ``varchar/text_pattern_ops`` index on ``CharField`` and
|
|
|
|
``TextField`` respectively when using ``AlterField`` on PostgreSQL
|
|
|
|
(:ticket:`25412`).
|
2015-12-14 14:20:10 +08:00
|
|
|
|
|
|
|
* Fixed a state bug when using an ``AlterModelManagers`` operation
|
|
|
|
(:ticket:`25852`).
|
2015-12-19 00:00:53 +08:00
|
|
|
|
|
|
|
* Fixed a regression which prevented using a language not in Django's default
|
|
|
|
language list (:setting:`LANGUAGES`) (:ticket:`25915`).
|
2015-12-25 00:37:21 +08:00
|
|
|
|
|
|
|
* ``django.views.decorators.cache.never_cache()`` now sends more persuasive
|
|
|
|
headers (added ``no-cache, no-store, must-revalidate`` to ``Cache-Control``)
|
|
|
|
to better prevent caching (:ticket:`13008`). This fixes a problem where a
|
|
|
|
page refresh in Firefox cleared the selected entries in the admin's
|
|
|
|
``filter_horizontal`` and ``filter_vertical`` widgets, which could result
|
|
|
|
in inadvertent data loss if a user didn't notice that and then submitted the
|
|
|
|
form (:ticket:`22955`).
|
2015-12-25 05:32:53 +08:00
|
|
|
|
|
|
|
* Fixed a regression in the admin which ignored line breaks in read-only fields
|
|
|
|
instead of converting them to ``<br>`` (:ticket:`25465`).
|
2015-12-30 00:29:11 +08:00
|
|
|
|
|
|
|
* Made ``loaddata`` skip disabling and enabling database constraints when it
|
|
|
|
doesn't load any fixtures (:ticket:`23372`).
|
2015-12-24 23:42:49 +08:00
|
|
|
|
|
|
|
* Fixed a crash in ``QuerySet.values()/values_list()`` after an ``annotate()``
|
|
|
|
and ``order_by()`` when ``values()/values_list()`` includes a field not in
|
|
|
|
the ``order_by()`` (:ticket:`25316`).
|