controller icon indicating copy to clipboard operation
controller copied to clipboard

Soft delete resources instead of hard

Open helgi opened this issue 9 years ago • 1 comments

When deleting apps / resources in DB we actually do a hard delete but what if we did soft delete? It is easier to trace things through time

http://stefan.haflidason.com/safer-soft-deletion-in-django/ http://www.akshayshah.org/post/django-soft-deletion/

This can be used instead to keep audit log without having any resource around https://github.com/jjkester/django-auditlog (https://github.com/shtalinberg/django-actions-logger is a fork of that) or https://github.com/kajic/django-model-changes, https://pypi.python.org/pypi/django-reversion/2.0.6

Audit log is only useful up to a point if there is no data around to introspect

helgi avatar Sep 15 '16 22:09 helgi

This issue was moved to teamhephy/controller#53

Cryptophobia avatar Mar 20 '18 17:03 Cryptophobia