This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requires use of Flask Login for the user tracking | |
# Implement by using AuditableMixin in your model class declarations | |
# e.g. class ImportantThing(AuditableMixin, Base): | |
import json | |
from flask_login import current_user | |
from sqlalchemy import event, inspect | |
from sqlalchemy.orm import class_mapper | |
from sqlalchemy.orm.attributes import get_history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am ngse on github. | |
* I am robadob (https://keybase.io/robadob) on keybase. | |
* I have a public key whose fingerprint is EFCF 7278 F23E ED03 0BE3 4D51 B754 34E5 7730 CFEA | |
To claim this, I am signing this object: |