2022-02-01 16:10:20 +08:00
|
|
|
==========================
|
|
|
|
Django 4.0.3 release notes
|
|
|
|
==========================
|
|
|
|
|
2022-03-01 16:32:18 +08:00
|
|
|
*March 1, 2022*
|
2022-02-01 16:10:20 +08:00
|
|
|
|
2022-02-02 18:36:57 +08:00
|
|
|
Django 4.0.3 fixes several bugs in 4.0.2. Also, all Python code in Django is
|
|
|
|
reformatted with `black`_.
|
|
|
|
|
|
|
|
.. _black: https://pypi.org/project/black/
|
2022-02-01 16:10:20 +08:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2022-02-17 04:09:24 +08:00
|
|
|
* Prevented, following a regression in Django 4.0.1, :djadmin:`makemigrations`
|
|
|
|
from generating infinite migrations for a model with ``ManyToManyField`` to
|
|
|
|
a lowercased swappable model such as ``'auth.user'`` (:ticket:`33515`).
|
2022-03-01 15:09:58 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.0 that caused a crash when rendering invalid
|
|
|
|
inlines with :attr:`~django.contrib.admin.ModelAdmin.readonly_fields` in the
|
|
|
|
admin (:ticket:`33547`).
|