Skip to content

fix: queue tasks in on_commit hook#8149

Merged
rjsparks merged 3 commits into
ietf-tools:mainfrom
jennifer-richards:fix-notify-task
Nov 6, 2024
Merged

fix: queue tasks in on_commit hook#8149
rjsparks merged 3 commits into
ietf-tools:mainfrom
jennifer-richards:fix-notify-task

Conversation

@jennifer-richards

Copy link
Copy Markdown
Member

Queuing a task in a Django view should be done in a transaction.on_commit() hook so they see the results of any changes made in the view.

@rjsparks
rjsparks merged commit afbe6aa into ietf-tools:main Nov 6, 2024
@jennifer-richards
jennifer-richards deleted the fix-notify-task branch November 7, 2024 15:58
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants