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

View File

@@ -33,6 +33,8 @@ Requirements
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
~~~~~~~
- `Redis <https://django-q.readthedocs.org/en/latest/brokers.html#redis>`__

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
Contents:
.. toctree::

View File

@@ -7,6 +7,9 @@ Tasks
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`:
.. code:: python