diff options
| author | Nilesh Kumar Pahari <nileshpahari@protonmail.com> | 2026-04-06 23:48:30 +0530 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-04-07 14:06:12 -0400 |
| commit | e27f23b268c520957384054fb236cfc303f95f51 (patch) | |
| tree | 8e51a4622acfba8827a0fad1553eb9f1051077fb /docs/releases | |
| parent | 78a3ffbb4cec25ed003f16cf4b1aa0b4bcdc2590 (diff) | |
Fixed #36816 -- Allowed **kwargs in @task decorator.
The decorator was updated to accept **kwargs and forward them to
task_class, allowing additional parameters to be passed to custom
Task subclasses.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/6.1.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt index 5dcdc9c50d..9c8aeea70c 100644 --- a/docs/releases/6.1.txt +++ b/docs/releases/6.1.txt @@ -348,7 +348,9 @@ Signals Tasks ~~~~~ -* ... +* The :func:`~django.tasks.task` decorator now accepts ``**kwargs``, which are + forwarded to the backend's + :attr:`~django.tasks.backends.base.BaseTaskBackend.task_class`. Templates ~~~~~~~~~ |
