mirror of
https://github.com/Hopiu/django.git
synced 2026-03-22 08:50:25 +00:00
Added ability to use receiver decorator in the following way:
@receiver([post_save, post_delete], sender=MyModel)
def signals_receiver(sender, **kwargs):
...
8 lines
187 B
Python
8 lines
187 B
Python
"""
|
|
Unit-tests for the dispatch project
|
|
"""
|
|
|
|
from __future__ import absolute_import
|
|
|
|
from .test_dispatcher import DispatcherTests, ReceiverTestCase
|
|
from .test_saferef import SaferefTests
|