From 42bab76258162e1df77d080aa69cac5d803ae90a Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Mon, 5 Jan 2026 13:58:58 -0500 Subject: [6.0.x] Fixed #36843, #36793 -- Reverted "Fixed #27489 -- Renamed permissions upon model renaming in migrations." This reverts commits f02b49d2f3bf84f5225de920ca510149f1f9f1da and 6e89271a8507fe272d11814975500a1b40303a04. Backport of 030c63d329c4814da221528e823a4aaaaa40e4f1 from main. --- docs/releases/6.0.1.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/releases/6.0.1.txt b/docs/releases/6.0.1.txt index a84b1ba6ef..499378cda7 100644 --- a/docs/releases/6.0.1.txt +++ b/docs/releases/6.0.1.txt @@ -42,3 +42,10 @@ Bugfixes * Fixed a regression in Django 6.0 where the :attr:`.Widget.use_fieldset` attribute of :class:`~django.forms.ClearableFileInput` was flipped from ``False`` to ``True`` (:ticket:`36829`). + +* Reverted an undocumented optimization in Django 6.0 that modified permission + :attr:`~django.contrib.auth.models.Permission.name` and + :attr:`~django.contrib.auth.models.Permission.codename` values when renaming + models via a migration. This change could affect unrelated + :class:`~django.contrib.auth.models.Permission` objects (:ticket:`36843`) and + did not report conflicts (:ticket:`36793`). -- cgit v1.3