Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: hook for delete and recover #74

Closed
thg303 opened this issue Mar 25, 2017 · 1 comment
Closed

feature request: hook for delete and recover #74

thg303 opened this issue Mar 25, 2017 · 1 comment

Comments

@thg303
Copy link

thg303 commented Mar 25, 2017

I was wondering if it could be possible to have a hook for remove and recover calls, something like "on_delete" or "on_recover". It could be useful for records with an external entity like "files" it would allow the developer to move deleted files to a "recycle bin" directory and remove them later or recover them if she needs.

@thg303
Copy link
Author

thg303 commented Mar 25, 2017

oops, now I just found them in the source, actually there are before_recover and after_recover callbacks.

@thg303 thg303 closed this as completed Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant