Please do not import the Workflow model in here, but define it here. This is the models.py where any models from the motion-app belongs.