---
title: "Discussion on \"Your Django transaction committed. The Celery task never got sent.\" | Hashnode"
description: "Discussion on \"Your Django transaction committed. The Celery task never got sent.\". You save a document, then queue its publication. The happy path is two lines:\ndocument.save()\n# The process might die here. Nothing has reached Celery yet.\npublish_document.delay(document.pk)\n\nMoving"
url: "https://hashnode.com/posts/your-django-transaction-committed-the-celery-task-never-got-sent/6ada72730f21fdecc40c5b04"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Your Django transaction committed. The Celery task never got sent.](https://gigaverse-engineering.hashnode.dev/your-django-transaction-committed-the-celery-task-never-got-sent?utm_source=hashnode&utm_medium=feed)

You save a document, then queue its publication. The happy path is two lines: document.save() # The process might die here. Nothing has reached Celery yet. publish\_document.delay(document.pk) Moving

Oct 22 · 2 min read · gigaverse-engineering.hashnode.dev  
Read the article

## Written by

[aviad rozenhek](https://hashnode.com/@aviadr1)

@aviadr1

  
[View profile](https://hashnode.com/@aviadr1)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
