Create your Paranoid Model¶
On your models.py file import Paranoid class from paranoid_models.models file, then inheritance Paranoid class on your models
1 2 3 4 5 6 7 8 9 | |
Note
- created_at : is the field with creation date
- updated_at : is the field with latest update date
- deleted_at : is the field with deletion date, so when it is None it means it hasn't been deleted