2017-04-05 02:20:56 +00:00
|
|
|
|
===========================
|
|
|
|
|
Django 1.11.1 release notes
|
|
|
|
|
===========================
|
|
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
|
|
|
|
|
Django 1.11.1 fixes several bugs in 1.11.
|
|
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
|
========
|
|
|
|
|
|
2017-04-07 15:47:53 +00:00
|
|
|
|
* Made migrations respect ``Index``’s ``name`` argument. If you created a
|
|
|
|
|
named index with Django 1.11, ``makemigrations`` will create a migration to
|
|
|
|
|
recreate the index with the correct name (:ticket:`28051`).
|
2017-04-07 00:28:21 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a crash when using a ``__icontains`` lookup on a ``ArrayField``
|
|
|
|
|
(:ticket:`28038`).
|
2017-04-07 10:23:25 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a crash when using a two-tuple in ``EmailMessage``’s ``attachments``
|
|
|
|
|
argument (:ticket:`28042`).
|
2017-04-10 13:47:26 +00:00
|
|
|
|
|
|
|
|
|
* Fixed ``QuerySet.filter()`` crash when it references the name of a
|
|
|
|
|
``OneToOneField`` primary key (:ticket:`28047`).
|
2017-04-15 13:21:35 +00:00
|
|
|
|
|
|
|
|
|
* Fixed empty POST data table appearing instead of "No POST data" in HTML debug
|
|
|
|
|
page (:ticket:`28079`).
|
2017-04-15 17:01:38 +00:00
|
|
|
|
|
|
|
|
|
* Restored ``BoundField``\s without any ``choices`` evaluating to ``True``
|
|
|
|
|
(:ticket:`28058`).
|
2017-04-12 00:35:17 +00:00
|
|
|
|
|
|
|
|
|
* Prevented ``SessionBase.cycle_key()`` from losing session data if
|
|
|
|
|
``_session_cache`` isn't populated (:ticket:`28066`).
|
2017-04-19 16:59:30 +00:00
|
|
|
|
|
|
|
|
|
* Fixed layout of ``ReadOnlyPasswordHashWidget`` (used in the admin's user
|
|
|
|
|
change page) (:ticket:`28097`).
|
2017-04-19 08:24:22 +00:00
|
|
|
|
|
|
|
|
|
* Allowed prefetch calls on managers with custom ``ModelIterable`` subclasses
|
|
|
|
|
(:ticket:`28096`).
|
2017-04-15 17:55:33 +00:00
|
|
|
|
|
|
|
|
|
* Restored the output of the ``class`` attribute in the ``<ul>`` of widgets
|
|
|
|
|
that use the ``multiple_input.html`` template. This fixes
|
|
|
|
|
``ModelAdmin.radio_fields`` with ``admin.HORIZONTAL`` (:ticket:`28059`).
|
2017-04-20 15:36:40 +00:00
|
|
|
|
|
|
|
|
|
* Fixed crash in ``BaseGeometryWidget.subwidgets()`` (:ticket:`28039`).
|
2017-04-20 16:58:24 +00:00
|
|
|
|
|
|
|
|
|
* Fixed exception reraising in ORM query execution when ``cursor.execute()``
|
|
|
|
|
fails and the subsequent ``cursor.close()`` also fails (:ticket:`28091`).
|
2017-04-21 16:14:40 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a regression where ``CheckboxSelectMultiple``, ``NullBooleanSelect``,
|
|
|
|
|
``RadioSelect``, ``SelectMultiple``, and ``Select`` localized option values
|
|
|
|
|
(:ticket:`28075`).
|
2017-04-21 02:44:15 +00:00
|
|
|
|
|
|
|
|
|
* Corrected the stack level of unordered queryset pagination warnings
|
|
|
|
|
(:ticket:`28109`).
|
2017-04-22 21:04:02 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a regression causing incorrect queries for ``__in`` subquery lookups
|
|
|
|
|
when models use ``ForeignKey.to_field`` (:ticket:`28101`).
|
2017-04-25 15:01:21 +00:00
|
|
|
|
|
|
|
|
|
* Fixed crash when overriding the template of
|
|
|
|
|
``django.views.static.directory_index()`` (:ticket:`28122`).
|