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
Trying to run the the demo with Purchase model from readme. python manange.py makemigrations ends with error:
File "django_states\machine.py", line 275, in get_state_choices return [(k, cls.states[k].description) for k in cls.states.keys()] AttributeError: type object 'PurchaseSateMachine' has no attribute 'states'
Aren't class some_state (StateDefinition) inside class PurchaseStateMachine supposed to be states?
The text was updated successfully, but these errors were encountered:
Trying to run the the demo with Purchase model from readme.
python manange.py makemigrations
ends with error:File "django_states\machine.py", line 275, in get_state_choices
return [(k, cls.states[k].description) for k in cls.states.keys()] AttributeError: type object 'PurchaseSateMachine' has no attribute 'states'
Aren't
class some_state (StateDefinition)
insideclass PurchaseStateMachine
supposed to be states?The text was updated successfully, but these errors were encountered: