pre_save hook for checking state changes to models
Trying to build a state-machine that stores state in the model or in settings.py rather then in the database, I wrote this small generic pre_save hook that lets me leave all the data in the Model.
- pre_save
- state-machine