fix: add m2m field with custom m2m through generate duplicated table when migrating (#393)

* fix: m2m table duplicated when using custom model for through

* Add testcase

* docs: update changelog

* tests: add m2m custom through example test
This commit is contained in:
Waket Zheng
2024-12-17 22:28:06 +08:00
committed by GitHub
parent d8addadb37
commit 4fc7f324d4
3 changed files with 52 additions and 6 deletions

View File

@@ -5,6 +5,7 @@
### [0.8.1](Unreleased)
#### Fixed
- Migrate add m2m field with custom through generate duplicated table. (#393)
- Migrate drop the wrong m2m field when model have multi m2m fields. (#376)
- KeyError raised when removing or renaming an existing model (#386)
- fix: error when there is `__init__.py` in the migration folder (#272)