Skip to content

Commit 1cf3b52

Browse files
Update docs/extending_task_results.rst
Co-authored-by: Allex <a.veldman@chain-stock.com>
1 parent c2042fa commit 1cf3b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/extending_task_results.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To extend the Task Results model follow the next steps:
2020
2121
CELERY_RESULTS_TASKRESULT_MODEL = 'myapp.TaskResult'
2222
23-
#. Write a function in your Django project's :file:`settings.py` that will consume a `request` and `task_properties` as positional arguments and will return a dictionary with the additional information that you want to store in the your custom `TaskResult` model. The keys of this dictionary will be the fields of the custom model and the values the data you can retrieve from the `request` and/or `task_properties`.
23+
#. Write a function that will consume a `request` and `task_properties` as positional arguments and will return a dictionary with the additional information that you want to store in your custom `TaskResult` model. The keys of this dictionary will be the fields of the custom model and the values the data you can retrieve from the `request` and/or `task_properties`.
2424

2525
.. code-block:: python
2626

0 commit comments

Comments
 (0)