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

Fixed #33515 -- Prevented recreation of migration for ManyToManyField to lowercased swappable setting.

Thanks Chris Lee for the report.

Regression in 4328970780.

Refs #23916.
This commit is contained in:
Mariusz Felisiak
2022-02-16 21:09:24 +01:00
committed by GitHub
parent 35c2474f16
commit 1e2e1be02b
4 changed files with 45 additions and 14 deletions

View File

@@ -12,4 +12,6 @@ reformatted with `black`_.
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`).