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

*January 2, 2016*

Django 1.9.1 corrige plusieurs bogues de la version 1.9.

## Correction de bogues

- Correction de `BaseCache.get_or_set()` avec le moteur `DummyCache` ([#25840](https://code.djangoproject.com/ticket/25840)).
- Fixed a regression in `FormMixin` causing forms to be validated twice
  ([#25548](https://code.djangoproject.com/ticket/25548), [#26018](https://code.djangoproject.com/ticket/26018)).
- Correction du plantage d’un contrôle système avec des champs `ArrayField` imbriqués ([#25867](https://code.djangoproject.com/ticket/25867)).
- Correction d’un bogue d’état lors de l’inversion d’une opération de migration `SeparateDatabaseAndState` ([#25896](https://code.djangoproject.com/ticket/25896)).
- Correction d’une régression dans `CommonMiddleware` faisant que les contrôles `If-None-Match` renvoyaient toujours une réponse HTTP 200 ([#25900](https://code.djangoproject.com/ticket/25900)).
- Correction d’un index `varchar/text_pattern_ops` manquant sur les champs `CharField` et `TextField` lors de l’utilisation de `AlterField` avec PostgreSQL ([#25412](https://code.djangoproject.com/ticket/25412)).
- Fixed admin’s delete confirmation page’s summary counts of related objects
  ([#25883](https://code.djangoproject.com/ticket/25883)).
- Added `from __future__ import unicode_literals` to the default `apps.py`
  created by `startapp` on Python 2 ([#25909](https://code.djangoproject.com/ticket/25909)). Add this line to your
  own `apps.py` files created using Django 1.9 if you want your migrations
  to work on both Python 2 and Python 3.
- Prevented `QuerySet.delete()` from crashing on MySQL when querying across
  relations ([#25882](https://code.djangoproject.com/ticket/25882)).
- Fixed evaluation of zero-length slices of `QuerySet.values()`
  ([#25894](https://code.djangoproject.com/ticket/25894)).
- Correction d’un bogue d’état lors de l’utilisation d’une opération `AlterModelManagers` ([#25852](https://code.djangoproject.com/ticket/25852)).
- Fixed `TypedChoiceField` change detection with nullable fields
  ([#25942](https://code.djangoproject.com/ticket/25942)).
- Fixed incorrect timezone warnings in custom admin templates that don’t have
  a `data-admin-utc-offset` attribute in the `body` tag.
  ([#25845](https://code.djangoproject.com/ticket/25845)).
- Correction d’une régression qui empêchait l’utilisation d’une langue non présente dans la liste par défaut des langues de Django ([`LANGUAGES`](/fr/3.0/ref/settings/#std-setting-LANGUAGES)) ([#25915](https://code.djangoproject.com/ticket/25915)).
- Avoided hiding some exceptions, like an invalid `INSTALLED_APPS` setting,
  behind `AppRegistryNotReady` when starting `runserver` ([#25510](https://code.djangoproject.com/ticket/25510)).
  This regression appeared in 1.8.5 as a side effect of fixing [#24704](https://code.djangoproject.com/ticket/24704)
  and by mistake the fix wasn’t applied to the `stable/1.9.x` branch.
- Fixed `migrate --fake-initial` detection of many-to-many tables
  ([#25922](https://code.djangoproject.com/ticket/25922)).
- Restored the functionality of the admin’s `list_editable` add and change
  buttons ([#25903](https://code.djangoproject.com/ticket/25903)).
- Fixed `isnull` query lookup for `ForeignObject`
  ([#25972](https://code.djangoproject.com/ticket/25972)).
- Fixed a regression in the admin which ignored line breaks in read-only fields
  instead of converting them to `<br>` ([#25465](https://code.djangoproject.com/ticket/25465)).
- Fixed incorrect object reference in
  `SingleObjectMixin.get_context_object_name()` ([#26006](https://code.djangoproject.com/ticket/26006)).
- Made `loaddata` skip disabling and enabling database constraints when it
  doesn’t load any fixtures ([#23372](https://code.djangoproject.com/ticket/23372)).
- Restored `contrib.auth` hashers compatibility with py-bcrypt
  ([#26016](https://code.djangoproject.com/ticket/26016)).
- Fixed a crash in `QuerySet.values()/values_list()` after an `annotate()`
  and `order_by()` when `values()/values_list()` includes a field not in
  the `order_by()` ([#25316](https://code.djangoproject.com/ticket/25316)).
