Branch: refs/heads/master
Home: https://github.com/django/django
Commit: d4da08375b634544b95859d4d4667b8f05e3a29a
https://github.com/django/django/commit/d4da08375b634544b95859d4d4667b8f05e3a29a
Author: Dmitry Medvinsky <[email protected]>
Date: 2012-06-23 (Sat, 23 Jun 2012)
Changed paths:
M django/dispatch/dispatcher.py
M docs/releases/1.5.txt
M docs/topics/signals.txt
M tests/regressiontests/dispatch/tests/__init__.py
M tests/regressiontests/dispatch/tests/test_dispatcher.py
Log Message:
-----------
Fixed #18454 -- Added ability to pass a list of signals to `receiver`.
Added ability to use receiver decorator in the following way:
@receiver([post_save, post_delete], sender=MyModel)
def signals_receiver(sender, **kwargs):
...
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.