Django 2.0.4 版本发行说明
Django 2.0.4 fixes several bugs in 2.0.3.
- Fixed a crash when filtering with an annotation of a queryset containing a single field (#29195).
- Corrected admin’s autocomplete widget to add a space after custom classes ().
- Fixed
PasswordResetConfirmView
crash when using a user model with a primary key and the reset URL contains an encoded primary key value that decodes to an invalid UUID (#29206). - Fixed a regression in Django 1.11 where an empty choice could be initially selected for the
SelectMultiple
andCheckboxSelectMultiple
widgets (). - Fixed a regression in Django 2.0 where
OpenLayersWidget
deserialization ignored the widget map’s SRID and assumed 4326 (WGS84) (#29116).