You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
I just upgraded from django-fsm 1.6 to 2.1 and now get this error when trying to run any management command:
CommandError: One or more models did not validate:
anx.dimensioncre: 'cre' has a relation with model portal.Cre, which has either not been installed or is abstract.
The only change I made was upgrading from django-fsm 1.6. The changelog says something about the release being backwards incompatible -- but doesn't document an upgrade procedure.
I'm running Django 1.6.5.
The text was updated successfully, but these errors were encountered:
I have no ideas what it could be. For migrating to new django_fsm you should just change imports. And import everything directly from django_FSM package.
I hadn't changed the imports. Changing them fixed the issue.
Thought now I get a TypeError: transition() got an unexpected keyword argument 'save' traceback. What is the recommended pattern for moving save=True? Should a call to self.save() be placed inside the transition method?
I just upgraded from django-fsm 1.6 to 2.1 and now get this error when trying to run any management command:
The only change I made was upgrading from django-fsm 1.6. The changelog says something about the release being backwards incompatible -- but doesn't document an upgrade procedure.
I'm running Django 1.6.5.
The text was updated successfully, but these errors were encountered: