Fix migration monkeypatching

This commit is contained in:
Phin Wolkwitz
2026-02-02 18:22:10 +01:00
committed by Raphael Michel
parent 946e7f5b88
commit a452701414

View File

@@ -36,8 +36,9 @@ from django.core.management.commands.makemigrations import Command as Parent
from ._migrations import monkeypatch_migrations
monkeypatch_migrations()
class Command(Parent):
pass
def handle(self, *args, **kwargs):
monkeypatch_migrations()
return super().handle(*args, **kwargs)