Skip to content

Commit

Permalink
Update docs/django/first-steps-with-django.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Apr 28, 2024
1 parent 4c0e69e commit 0cc735b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/django/first-steps-with-django.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ In rare cases where you want to trigger a task without waiting, the existing
:meth:`~celery.app.task.Task.delay` API is still available.

One key difference compared to the ``delay`` method, is that ``delay_on_commit``
will NOT return the task ID back to the caller. The task is not sent to the broken
will NOT return the task ID back to the caller. The task is not sent to the broker
when you call the method, only when the Django transaction finishes. If you need the
task ID, best to stick to :meth:`~celery.app.task.Task.delay`.

Expand Down

0 comments on commit 0cc735b

Please sign in to comment.