Open MiltosD opened 1 year ago
I managed to instantiate by declaring the model as managed = False
in the Meta class and leaving abstract
to False
. What this does, is that it actually creates a migration operation for the model but does not create the collection, which, effectively is the same behavior as setting abstract = True
. However, according to the Django docs, the purpose of managed = False
is different, so I'm seeing this as a temporary solution...
One line description of the issue
Since Django 3.2.1 a check has been added to prevent instantiation of an abstract model. This seems to have broken the validation of a model instance with an EmbeddedField
django/db/models/base.py