app/django/dispatch/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 03 Dec 2008 23:48:10 +0000
changeset 660 5a381b290691
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Introduced django_extra_patterns This way no classes ever need to override the getDjangoURLPatterns, which results in less code, which is also more clear (that is, it is immediately obvious that a View adds an extra mapping if it sets the new django_extra_patterns value, or that it overrides the mapping when it sets django_patterns_defaults. Patch by: Sverre Rabbelier

"""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