From efed61f7864d74c79e96a2034dba86858dbbe4ac Mon Sep 17 00:00:00 2001 From: Ilan Steemers Date: Sun, 4 Oct 2015 16:47:42 +0200 Subject: [PATCH] docs: some tweaks on the new functions --- docs/examples.rst | 7 ++++--- docs/schedules.rst | 1 + docs/tasks.rst | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/examples.rst b/docs/examples.rst index 15ce2a2..6ba3b26 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -179,6 +179,8 @@ here's an example of how you can have Django Q take care of your indexes in real Now every time a Document is saved, your indexes will be updated without causing a delay in your save action. You could expand this to dealing with deletes, by adding a ``post_delete`` signal and calling ``index.remove_object`` in the async function. +.. _shell: + Shell ===== You can execute or schedule shell commands using Pythons :mod:`subprocess` module: @@ -267,7 +269,7 @@ Adapted from `Sebastian Raschka's blog