2018-08-01 23:13:37 +08:00
|
|
|
==========================
|
|
|
|
Django 2.1.1 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Expected September 1, 2018*
|
|
|
|
|
|
|
|
Django 2.1.1 fixes several bugs in 2.1.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2018-08-01 17:52:28 +08:00
|
|
|
* Fixed a race condition in ``QuerySet.update_or_create()`` that could result
|
|
|
|
in data loss (:ticket:`29499`).
|
2018-08-03 09:56:26 +08:00
|
|
|
|
|
|
|
* Fixed a regression where ``QueryDict.urlencode()`` crashed if the dictionary
|
|
|
|
contains a non-string value (:ticket:`29627`).
|
2018-08-03 16:31:55 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 2.0 where using ``manage.py test --keepdb``
|
|
|
|
fails on PostgreSQL if the database exists and the user doesn't have
|
|
|
|
permission to create databases (:ticket:`29613`).
|
2018-08-08 14:51:20 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 2.0 where combining ``Q`` objects with ``__in``
|
|
|
|
lookups and lists crashed (:ticket:`29643`).
|
2018-08-08 06:04:48 +08:00
|
|
|
|
|
|
|
* Fixed translation failure of ``DurationField``'s "overflow" error message
|
|
|
|
(:ticket:`29623`).
|
2018-08-09 23:43:55 +08:00
|
|
|
|
|
|
|
* Fixed a regression where the admin change form crashed if the user doesn't
|
|
|
|
have the 'add' permission to a model that uses ``TabularInline``
|
|
|
|
(:ticket:`29637`).
|
2018-08-09 09:25:18 +08:00
|
|
|
|
|
|
|
* Fixed a regression where a ``related_query_name`` reverse accessor wasn't set
|
|
|
|
up when a ``GenericRelation`` is declared on an abstract base model
|
|
|
|
(:ticket:`29653`).
|
2018-08-15 22:27:45 +08:00
|
|
|
|
|
|
|
* Fixed the test client's JSON serialization of a request data dictionary for
|
|
|
|
structured content type suffixes (:ticket:`29662`).
|
2018-08-12 22:51:23 +08:00
|
|
|
|
|
|
|
* Made the admin change view redirect to the changelist view after a POST if
|
|
|
|
the user has the 'view' permission (:ticket:`29663`).
|
2018-08-19 04:15:18 +08:00
|
|
|
|
|
|
|
* Fixed admin change view crash for view-only users if the form has an extra
|
|
|
|
form field (:ticket:`29682`).
|