Closed math-a3k closed 7 years ago
For the sake of documentation, model methods don't work in migrations, if you run into this - a data migration with django-dag - use the class constructor instead of the """model api""" or method.
This is not a bug, just a caveat
The migrations:
However, using
works, so for some reason the API shown in tests.py does not work in migrations.