---
title: "Django 2.1.1 リリースノート"
version: 4.2
locale: ja
source: https://docs.djangoproject.com/ja/4.2/releases/2.1.1/
canonical: https://djangodocs.dev/ja/4.2/releases/2.1.1/
---
# Django 2.1.1 リリースノート

*2018年8月31日*

Django 2.1.1 では、2.1 にあったいくつかのバグを修正しました。

## Bugfixes

- データ損失に繋がる可能性がある `QuerySet.update_or_create()` の競合状態を修正しました ([#29499](https://code.djangoproject.com/ticket/29499))。
- ディクショナリが文字列以外の値を持っている場合に `QueryDict.urlencode()` がクラッシュするリグレッションを修正しました ([#29627](https://code.djangoproject.com/ticket/29627))。
- Django 2.0 において、PostgreSQL ですでにデータベースが存在し、ユーザーがデータベース作成権限を持たない場合に `manage.py test --keepdb` が 失敗するリグレッションを修正しました ([#29613](https://code.djangoproject.com/ticket/29613))。
- Django 2.0 で、`__in` ルックアップを使用した `Q` オブジェクトと list を組み合わせた場合にクラッシュするリグレッションを修正しました ([#29643](https://code.djangoproject.com/ticket/29643))。
- `DurationField` の "overflow" エラーメッセージの翻訳に失敗する問題を修正しました ([#29623](https://code.djangoproject.com/ticket/29623))。
- ユーザーが `TabularInline` を使用しているモデルへの 'add' 権限を持たない場合に、admin の change form がクラッシュするリグレッションを修正しました ([#29637](https://code.djangoproject.com/ticket/29637))。
- `GenericRelation` が抽象ベースモデルで宣言されていた場合に、`related_query_name` reverse accessor がセットアップされなかったリグレッションを修正しました ([#29653](https://code.djangoproject.com/ticket/29653))。
- Fixed the test client's JSON serialization of a request data dictionary for
  structured content type suffixes ([#29662](https://code.djangoproject.com/ticket/29662)).
- Made the admin change view redirect to the changelist view after a POST if
  the user has the 'view' permission ([#29663](https://code.djangoproject.com/ticket/29663)).
- Fixed admin change view crash for view-only users if the form has an extra
  form field ([#29682](https://code.djangoproject.com/ticket/29682)).
- Fixed a regression in Django 2.0.5 where `QuerySet.values()` or
  `values_list()` after combining querysets with `extra()` with
  `union()`, `difference()`, or `intersection()` crashed due to
  mismatching columns ([#29694](https://code.djangoproject.com/ticket/29694)).
- Fixed crash if `InlineModelAdmin.has_add_permission()` doesn't accept the
  `obj` argument ([#29723](https://code.djangoproject.com/ticket/29723)).
