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

*March 1, 2022*

Django 4.0.3 では、 4.0.2 で見つかったいくつかのバグを修正しました。また、Django のすべての Python コードが [black](https://pypi.org/project/black/) で再度フォーマットされます。

## バグ修正

- Prevented, following a regression in Django 4.0.1, [`makemigrations`](/ja/5.0/ref/django-admin/#django-admin-makemigrations)
  from generating infinite migrations for a model with `ManyToManyField` to
  a lowercased swappable model such as `'auth.user'` ([#33515](https://code.djangoproject.com/ticket/33515)).
- Fixed a regression in Django 4.0 that caused a crash when rendering invalid
  inlines with [`readonly_fields`](/ja/5.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.readonly_fields) in the
  admin ([#33547](https://code.djangoproject.com/ticket/33547)).
