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