Django 3.0.2 版本发行说明

January 2, 2020

Django 3.0.2 fixes several bugs in 3.0.1.

漏洞修复

  • Fixed a regression in Django 3.0 that didn't include columns referenced by a Subquery() in the GROUP BY clause (#31094).
  • Fixed a regression in Django 3.0 where QuerySet.exists() crashed if a queryset contained an aggregation over a Subquery() (#31109).
  • Fixed a regression in Django 3.0 that caused a migration crash on PostgreSQL 10+ when adding a foreign key and changing data in the same migration (#31106).
  • Fixed a regression in Django 3.0 where loading fixtures crashed for models defining a default for the primary key (#31071).