Django 2.0.5 版本发行说明

2018 年 5 月 1 日

Django 2.0.5 fixes several bugs in 2.0.4.

漏洞修复

  • Corrected the import paths that inspectdb generates for django.contrib.postgres fields (#29307).
  • Fixed a regression in Django 1.11.8 where altering a field with a unique constraint may drop and rebuild more foreign keys than necessary (#29193).
  • Fixed crashes in django.contrib.admindocs when a view is a callable object, such as django.contrib.syndication.views.Feed (#29296).
  • Fixed a regression in Django 2.0.4 where QuerySet.values() or values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection() crashed due to mismatching columns (#29286).