2017-05-06 13:42:25 +00:00
|
|
|
===========================
|
|
|
|
Django 1.11.2 release notes
|
|
|
|
===========================
|
|
|
|
|
2017-06-01 15:09:51 +00:00
|
|
|
*June 1, 2017*
|
2017-05-06 13:42:25 +00:00
|
|
|
|
2017-05-31 18:37:17 +00:00
|
|
|
Django 1.11.2 adds a minor feature and fixes several bugs in 1.11.1. Also, the
|
|
|
|
latest string translations from Transifex are incorporated.
|
2017-05-22 17:16:56 +00:00
|
|
|
|
|
|
|
Minor feature
|
|
|
|
=============
|
|
|
|
|
|
|
|
The new ``LiveServerTestCase.port`` attribute reallows the use case of binding
|
|
|
|
to a specific port following the :ref:`bind to port zero
|
|
|
|
<liveservertestcase-port-zero-change>` change in Django 1.11.
|
2017-05-06 13:42:25 +00:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2017-05-08 14:59:16 +00: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 13:42:06 +00: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-29 23:10:43 +00:00
|
|
|
|
|
|
|
* Fixed ``django.utils.http.is_safe_url()`` crash on invalid IPv6 URLs
|
|
|
|
(:ticket:`28142`).
|
2017-05-12 01:04:52 +00:00
|
|
|
|
|
|
|
* Fixed regression causing pickling of model fields to crash (:ticket:`28188`).
|
2017-05-14 22:22:58 +00:00
|
|
|
|
|
|
|
* Fixed ``django.contrib.auth.authenticate()`` when multiple authentication
|
|
|
|
backends don't accept a positional ``request`` argument (:ticket:`28207`).
|
2017-05-12 16:01:30 +00:00
|
|
|
|
|
|
|
* Fixed introspection of index field ordering on PostgreSQL (:ticket:`28197`).
|
2017-05-19 16:47:10 +00: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 02:00:02 +00:00
|
|
|
|
|
|
|
* Allowed ``DjangoJSONEncoder`` to serialize
|
|
|
|
``django.utils.deprecation.CallableBool`` (:ticket:`28230`).
|
2017-05-19 10:40:43 +00: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 14:14:45 +00:00
|
|
|
|
|
|
|
* Fixed ``MultipleObjectMixin.paginate_queryset()`` crash on Python 2 if the
|
|
|
|
``InvalidPage`` message contains non-ASCII (:ticket:`28204`).
|
2017-05-30 10:40:41 +00:00
|
|
|
|
|
|
|
* Prevented ``Subquery`` from adding an unnecessary ``CAST`` which resulted in
|
|
|
|
invalid SQL (:ticket:`28199`).
|
2017-05-30 13:39:59 +00:00
|
|
|
|
|
|
|
* Corrected detection of GDAL 2.1 on Windows (:ticket:`28181`).
|
2017-05-15 18:56:30 +00:00
|
|
|
|
|
|
|
* Made date-based generic views return a 404 rather than crash when given an
|
|
|
|
out of range date (:ticket:`28209`).
|
2017-05-10 15:29:12 +00:00
|
|
|
|
|
|
|
* Fixed a regression where ``file_move_safe()`` crashed when moving files to a
|
|
|
|
CIFS mount (:ticket:`28170`).
|
2017-05-28 07:05:21 +00:00
|
|
|
|
|
|
|
* Moved the ``ImageField`` file extension validation added in Django 1.11 from
|
|
|
|
the model field to the form field to reallow the use case of storing images
|
|
|
|
without an extension (:ticket:`28242`).
|