2017-05-06 21:42:25 +08:00
|
|
|
===========================
|
|
|
|
Django 1.11.2 release notes
|
|
|
|
===========================
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
|
|
|
Django 1.11.2 fixes several bugs in 1.11.1.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2017-05-08 22:59:16 +08:00
|
|
|
* Added detection for GDAL 2.1 and 2.0, and removed detection for unsupported
|
|
|
|
versions 1.7 and 1.8 (:ticket:`28181`).
|
2017-05-08 21:42:06 +08:00
|
|
|
|
|
|
|
* Changed ``contrib.gis`` to raise ``ImproperlyConfigured`` rather than
|
|
|
|
``GDALException`` if ``gdal`` isn't installed, to allow third-party apps to
|
|
|
|
catch that exception (:ticket:`28178`).
|
2017-04-30 07:10:43 +08:00
|
|
|
|
|
|
|
* Fixed ``django.utils.http.is_safe_url()`` crash on invalid IPv6 URLs
|
|
|
|
(:ticket:`28142`).
|
2017-05-12 09:04:52 +08:00
|
|
|
|
|
|
|
* Fixed regression causing pickling of model fields to crash (:ticket:`28188`).
|
2017-05-15 06:22:58 +08:00
|
|
|
|
|
|
|
* Fixed ``django.contrib.auth.authenticate()`` when multiple authentication
|
|
|
|
backends don't accept a positional ``request`` argument (:ticket:`28207`).
|
2017-05-13 00:01:30 +08:00
|
|
|
|
|
|
|
* Fixed introspection of index field ordering on PostgreSQL (:ticket:`28197`).
|
2017-05-20 00:47:10 +08:00
|
|
|
|
|
|
|
* Fixed a regression where ``Model._state.adding`` wasn't set correctly on
|
|
|
|
multi-table inheritance parent models after saving a child model
|
|
|
|
(:ticket:`28210`).
|
2017-05-23 10:00:02 +08:00
|
|
|
|
|
|
|
* Allowed ``DjangoJSONEncoder`` to serialize
|
|
|
|
``django.utils.deprecation.CallableBool`` (:ticket:`28230`).
|
2017-05-19 18:40:43 +08:00
|
|
|
|
|
|
|
* Relaxed the validation added in Django 1.11 of the fields in the ``defaults``
|
|
|
|
argument of ``QuerySet.get_or_create()`` and ``update_or_create()`` to
|
|
|
|
reallow settable model properties (:ticket:`28222`).
|
2017-05-29 22:14:45 +08:00
|
|
|
|
|
|
|
* Fixed ``MultipleObjectMixin.paginate_queryset()`` crash on Python 2 if the
|
|
|
|
``InvalidPage`` message contains non-ASCII (:ticket:`28204`).
|
2017-05-30 18:40:41 +08:00
|
|
|
|
|
|
|
* Prevented ``Subquery`` from adding an unnecessary ``CAST`` which resulted in
|
|
|
|
invalid SQL (:ticket:`28199`).
|
2017-05-30 21:39:59 +08:00
|
|
|
|
|
|
|
* Corrected detection of GDAL 2.1 on Windows (:ticket:`28181`).
|