Django 3.1.4 release notes¶
December 1, 2020
Django 3.1.4 fixes several bugs in 3.1.3.
Bugfixes¶
- Fixed setting the
Content-LengthHTTP header inAsyncRequestFactory(#32162). - Fixed passing extra HTTP headers to
AsyncRequestFactoryrequest methods (#32159). - Fixed crash of key transforms for
JSONFieldon PostgreSQL when using on aSubquery()annotation (#32182). - Fixed a regression in Django 3.1 that caused a crash of auto-reloader for
certain invocations of
runserveron Windows with Python 3.7 and below (#32202). - Fixed a regression in Django 3.1 that caused the incorrect grouping by a
Qobject annotation (#32200). - Fixed a regression in Django 3.1 that caused suppressing connection errors
when
JSONFieldis used on SQLite (#32224). - Fixed a crash on SQLite, when
QuerySet.values()/values_list()contained key transforms forJSONFieldreturning non-string primitive values (#32203).