Open
Description
I added positionField to one of the subclasses (multi-table inheritance)
I was unable to create a subclass instance because of the following lines (fields.py: 65)
if not add and self.collection is not None:
previous_instance = type(model_instance)._default_manager.get(pk=model_instance.pk)
It trys to get the instance which was not yet saved.
Metadata
Metadata
Assignees
Labels
No labels