mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Updating documentation.
This commit is contained in:
parent
a3b1e12b25
commit
4e83ae8eb3
7 changed files with 258 additions and 49 deletions
|
|
@ -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!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue