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

Run hooks within a single transaction #85

Closed
lostb1t opened this issue Oct 18, 2021 · 1 comment · Fixed by #86
Closed

Run hooks within a single transaction #85

lostb1t opened this issue Oct 18, 2021 · 1 comment · Fixed by #86

Comments

@lostb1t
Copy link

lostb1t commented Oct 18, 2021

Django save signals are run within the same transaction. So if something goes wrong in post_save for example the instance is never saved als the transaction is rolled back. Would be nice to have the same behavior for lifecycle hooks

@rsinger86
Copy link
Owner

yeah, good call. much appreciated. will merge in soon.

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

Successfully merging a pull request may close this issue.

2 participants