app/django/dispatch/__init__.py
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 13 Aug 2009 10:23:31 -0700
changeset 2767 4011d44ba0b6
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Changed to_dict to call all callable values when their key is in field_names. This is useful for instance when exporting role instances and you want to export document_name.

"""Multi-consumer multi-producer dispatching mechanism

Originally based on pydispatch (BSD) http://pypi.python.org/pypi/PyDispatcher/2.0.1
See license.txt for original license.

Heavily modified for Django's purposes.
"""

from django.dispatch.dispatcher import Signal