# Documentazione Django 5.2.8

# Note di rilascio di Django 4.0.3

1 Marzo 2022

Django 4.0.3 fixes several bugs in 4.0.2. Also, all Python code in Django is reformatted with black.

## Correzioni di bug

- Prevented, following a regression in Django 4.0.1, `makemigrations` from generating infinite migrations for a model with `ManyToManyField` to a lowercased swappable model such as `'auth.user'` (#33515).

- Fixed a regression in Django 4.0 that caused a crash when rendering invalid inlines with `readonly_fields` in the admin (#33547).