Django 3.2.1 release notes¶
Expected May 4, 2021
Django 3.2.1 fixes several bugs in 3.2.
Bugfixes¶
- Corrected detection of GDAL 3.2 on Windows (#32544).
- Fixed a bug in Django 3.2 where subclasses of
BigAutoField
andSmallAutoField
were not allowed for theDEFAULT_AUTO_FIELD
setting (#32620). - Fixed a regression in Django 3.2 that caused a crash of
QuerySet.values()/values_list()
afterQuerySet.union()
,intersection()
, anddifference()
when it was ordered by an unannotated field (#32627). - Restored, following a regression in Django 3.2, displaying an exception message on the technical 404 debug page (#32637).
- Fixed a bug in Django 3.2 where a system check would crash on a reverse
one-to-one relationships in
CheckConstraint.check
orUniqueConstraint.condition
(#32635). - Fixed a regression in Django 3.2 that caused a crash of
ModelAdmin.search_fields
when searching against phrases with unbalanced quotes (#32649). - Fixed a bug in Django 3.2 where variable lookup errors were logged rendering the sitemap template if alternates were not defined (#32648).
- Fixed a regression in Django 3.2 that caused a crash when combining
Q()
objects which contains boolean expressions (#32548). - Fixed a regression in Django 3.2 that caused a crash of
QuerySet.update()
on a queryset ordered by inherited or joined fields on MySQL and MariaDB (#32645). - Fixed a regression in Django 3.2 that caused a crash when decoding a cookie
value, used by
django.contrib.messages.storage.cookie.CookieStorage
, in the pre-Django 3.2 format (#32643).