---
title: "Notes de publication de Django 3.1.2"
version: 4.2
locale: fr
source: https://docs.djangoproject.com/fr/4.2/releases/3.1.2/
canonical: https://djangodocs.dev/fr/4.2/releases/3.1.2/
---
# Notes de publication de Django 3.1.2

*October 1, 2020*

Django 3.1.2 fixes several bugs in 3.1.1.

## Correction de bogues

- Fixed a bug in Django 3.1 where `FileField` instances with a callable
  storage were not correctly deconstructed ([#31941](https://code.djangoproject.com/ticket/31941)).
- Fixed a regression in Django 3.1 where the [`QuerySet.ordered`](/fr/4.2/ref/models/querysets/#django.db.models.query.QuerySet.ordered)
  attribute returned incorrectly `True` for `GROUP BY` queries (e.g.
  `.annotate().values()`) on models with `Meta.ordering`. A model’s
  `Meta.ordering` doesn’t affect such queries ([#31990](https://code.djangoproject.com/ticket/31990)).
- Fixed a regression in Django 3.1 where a queryset would crash if it contained
  an aggregation and a `Q` object annotation ([#32007](https://code.djangoproject.com/ticket/32007)).
- Fixed a bug in Django 3.1 where a test database was not synced during
  creation when using the [`MIGRATE`](/fr/4.2/ref/settings/#std-setting-TEST_MIGRATE) test database
  setting ([#32012](https://code.djangoproject.com/ticket/32012)).
- Fixed a `django.contrib.admin.EmptyFieldListFilter` crash when using on a
  `GenericRelation` ([#32038](https://code.djangoproject.com/ticket/32038)).
- Fixed a regression in Django 3.1.1 where the admin changelist filter sidebar
  would not scroll for a long list of available filters ([#31986](https://code.djangoproject.com/ticket/31986)).
