1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #33547 -- Fixed error when rendering invalid inlines with readonly fields in admin.

Regression in de95c82667.

Thanks David Glenck for the report.
This commit is contained in:
Mariusz Felisiak
2022-03-01 08:09:58 +01:00
committed by GitHub
parent 119f227aa6
commit 445b075def
4 changed files with 29 additions and 1 deletions

View File

@@ -15,3 +15,7 @@ Bugfixes
* 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`).
* 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`).