Add warning about asyn_task refactor

This commit is contained in:
Ilan Steemers
2018-08-14 12:26:50 +02:00
parent 35ba23de89
commit fb8da040b4
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -33,6 +33,8 @@ Requirements
Tested with: Python 3.6. 3.7 Django 1.11.11 and 2.0.x Tested with: Python 3.6. 3.7 Django 1.11.11 and 2.0.x
.. warning:: Since Python 3.7 `async` became a reserved keyword and was refactored to `async_task`
Brokers Brokers
~~~~~~~ ~~~~~~~
- `Redis <https://django-q.readthedocs.org/en/latest/brokers.html#redis>`__ - `Redis <https://django-q.readthedocs.org/en/latest/brokers.html#redis>`__
+1
View File
@@ -26,6 +26,7 @@ Features
Django Q is tested with: Python 3.6. 3.7 Django 1.11.11 LTS and 2.0.x Django Q is tested with: Python 3.6. 3.7 Django 1.11.11 LTS and 2.0.x
Contents: Contents:
.. toctree:: .. toctree::
+3
View File
@@ -7,6 +7,9 @@ Tasks
async_task() async_task()
------------ ------------
.. warning:: Since Python 3.7 `async` became a reserved keyword and was refactored to `async_task`
Use :func:`async_task` from your code to quickly offload tasks to the :class:`Cluster`: Use :func:`async_task` from your code to quickly offload tasks to the :class:`Cluster`:
.. code:: python .. code:: python