From e32bd8bb311d9b2c4fe03e595292462bdbae7438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Fri, 3 Aug 2018 18:03:01 +0200 Subject: [PATCH] Fix a typo I introduced in groups.rst --- docs/group.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/group.rst b/docs/group.rst index ff2c179..6ca327b 100644 --- a/docs/group.rst +++ b/docs/group.rst @@ -70,10 +70,10 @@ or call them directly on :class:`AsyncTask` object: .. code-block:: python - from django_q.tasks import async_task + from django_q.tasks import AsyncTask # add a task to the math group and run it cached - a = async_task('math.floor', 2.5, group='math', cached=True) + a = AsyncTask('math.floor', 2.5, group='math', cached=True) # wait until this tasks group has 10 results result = a.result_group(count=10)