1
0
Fork 0

Updating documentation.

This commit is contained in:
Adam Coddington 2013-06-24 00:20:08 -07:00
parent a3b1e12b25
commit 4e83ae8eb3
7 changed files with 258 additions and 49 deletions

View file

@ -11,3 +11,11 @@ To subscribe to the incoming mail signal, following this lead::
def dance_jig(sender, message, **args):
print "I just recieved a message titled %s from a mailbox named %s" % (message.subject, message.mailbox.name, )
.. warning::
`As with all django signals <https://docs.djangoproject.com/en/dev/topics/signals/>`_,
this should be loaded either in an app's ``models.py``
or somewhere else loaded early on.
If you do not load it early enough, the signal may be fired before your
signal handler's registration is processed!