Fixed #33938 -- Fixed migration crash for m2m with a through model in another app.

Regression in aa4acc164d.

Thanks bryangeplant for the report.
This commit is contained in:
Simon Charette 2022-08-19 14:03:15 -04:00 committed by Mariusz Felisiak
parent 2480554dc4
commit 71902e0d9f
3 changed files with 50 additions and 1 deletions

View file

@ -43,3 +43,6 @@ Bugfixes
* Fixed a regression in Django 4.1 that caused a migration crash on PostgreSQL
when altering ``AutoField``, ``BigAutoField``, or ``SmallAutoField`` to
``OneToOneField`` (:ticket:`33932`).
* Fixed a migration crash on ``ManyToManyField`` fields with ``through``
referencing models in different apps (:ticket:`33938`).