1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[5.1.x] Fixed #35606, Refs #34045 -- Fixed rendering of ModelAdmin.action_checkbox for models with a __html__ method.

Thank you Claude Paroz for the report.

Regression in 85366fbca7.

Backport of 182f262b15 from main.
This commit is contained in:
Hisham Mahmood
2024-07-17 18:50:45 +05:00
committed by Sarah Boyce
parent 4d8e574379
commit 5eef80b56e
5 changed files with 41 additions and 1 deletions

View File

@@ -11,3 +11,7 @@ Bugfixes
* Added missing validation for ``UniqueConstraint(nulls_distinct=False)`` when
using ``*expressions`` (:ticket:`35594`).
* Fixed a regression in Django 5.0 where ``ModelAdmin.action_checkbox`` could
break the admin changelist HTML page when rendering a model instance with a
``__html__`` method (:ticket:`35606`).