| 1 |
========================== |
| 2 |
Django 4.0.3 release notes |
| 3 |
========================== |
| 4 |
|
| 5 |
*March 1, 2022* |
| 6 |
|
| 7 |
Django 4.0.3 fixes several bugs in 4.0.2. Also, all Python code in Django is |
| 8 |
reformatted with :pypi:`black`. |
| 9 |
|
| 10 |
Bugfixes |
| 11 |
======== |
| 12 |
|
| 13 |
* Prevented, following a regression in Django 4.0.1, :djadmin:`makemigrations` |
| 14 |
from generating infinite migrations for a model with ``ManyToManyField`` to |
| 15 |
a lowercased swappable model such as ``'auth.user'`` (:ticket:`33515`). |
| 16 |
|
| 17 |
* Fixed a regression in Django 4.0 that caused a crash when rendering invalid |
| 18 |
inlines with :attr:`~django.contrib.admin.ModelAdmin.readonly_fields` in the |
| 19 |
admin (:ticket:`33547`). |