---
title: "Django 3.1.4 release notes"
version: 5.1
locale: pl
source: https://docs.djangoproject.com/pl/5.1/releases/3.1.4/
canonical: https://djangodocs.dev/pl/5.1/releases/3.1.4/
---
# Django 3.1.4 release notes

*December 1, 2020*

Django 3.1.4 fixes several bugs in 3.1.3.

## Poprawki błędów

- Fixed setting the `Content-Length` HTTP header in `AsyncRequestFactory`
  ([#32162](https://code.djangoproject.com/ticket/32162)).
- Fixed passing extra HTTP headers to `AsyncRequestFactory` request methods
  ([#32159](https://code.djangoproject.com/ticket/32159)).
- Fixed crash of key transforms for [`JSONField`](/pl/5.1/ref/models/fields/#django.db.models.JSONField) on
  PostgreSQL when using on a `Subquery()` annotation ([#32182](https://code.djangoproject.com/ticket/32182)).
- Fixed a regression in Django 3.1 that caused a crash of auto-reloader for
  certain invocations of `runserver` on Windows with Python 3.7 and below
  ([#32202](https://code.djangoproject.com/ticket/32202)).
- Fixed a regression in Django 3.1 that caused the incorrect grouping by a
  `Q` object annotation ([#32200](https://code.djangoproject.com/ticket/32200)).
- Fixed a regression in Django 3.1 that caused suppressing connection errors
  when [`JSONField`](/pl/5.1/ref/models/fields/#django.db.models.JSONField) is used on SQLite
  ([#32224](https://code.djangoproject.com/ticket/32224)).
- Fixed a crash on SQLite, when `QuerySet.values()/values_list()` contained
  key transforms for [`JSONField`](/pl/5.1/ref/models/fields/#django.db.models.JSONField) returning non-string
  primitive values ([#32203](https://code.djangoproject.com/ticket/32203)).
