From 64b808eb913a17b6235402aa2474eeb0c3e727a1 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Fri, 6 Jan 2023 11:40:27 -0800 Subject: [PATCH] Banish ye, whitespace --- docs/developing-locally.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/developing-locally.rst b/docs/developing-locally.rst index 8952de704..960ba7b03 100644 --- a/docs/developing-locally.rst +++ b/docs/developing-locally.rst @@ -147,12 +147,12 @@ If the project is configured to use Celery as a task scheduler then, by default, The project comes with a simple task for manual testing purposes, inside `/users/tasks.py`. To queue that task locally, start the Django shell, import the task, and call `delay()` on it:: - $ python manage.py shell + $ python manage.py shell >> from .users.tasks import get_users_count >> get_users_count.delay() - + Next, make sure `redis-server` is installed (per instructions at https://redis.io/topics/quickstart) and run the server in one terminal:: - + $ redis-server Now that a task is queued and Redis is running, the final step is to start the Celery worker locally. In another terminal, run the following command::