Fix migration monkeypatching

This commit is contained in:
Phin Wolkwitz
2026-02-02 18:22:10 +01:00
committed by Richard Schreiber
parent 31d3abe8c6
commit 3baf9eecb0

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)