If I have log_transitions = True in my state machine, and then make_transition on an unsaved model object, we crash since 'self' (model object) doesn't have an id but an id is assumed here:
model_methods.py, method make_transition, line 151:
Perhaps we could have an explicit exception for this case, stating that the object needs an id/to be saved beforehand.
Thanks for the bug report! Indeed, we assumed that an object needs to be saved before running any state transitions on it. I will throw an exception instead.
Fixes #23, don't allow transition on unsaved model