Django 2.1.1 版本发行说明
Django 2.1.1 fixes several bugs in 2.1.
- Fixed a race condition in that could result in data loss (#29499).
- Fixed a regression where
QueryDict.urlencode()
crashed if the dictionary contains a non-string value (). - Fixed a regression in Django 2.0 where combining
Q
objects with__in
lookups and lists crashed (#29643). - Fixed translation failure of ‘s “overflow” error message ().
- Fixed a regression where the admin change form crashed if the user doesn’t have the ‘add’ permission to a model that uses
TabularInline
(#29637). - Fixed the test client’s JSON serialization of a request data dictionary for structured content type suffixes ().
- Made the admin change view redirect to the changelist view after a POST if the user has the ‘view’ permission (#29663).
- Fixed admin change view crash for view-only users if the form has an extra form field ().
- Fixed crash if doesn’t accept the
obj
argument (#29723).