Created
February 27, 2014 19:15
-
-
Save chriskief/9257048 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# myapp/signals/handlers.py | |
from django.dispatch import receiver | |
from .signals import example_signal | |
@receiver(example_signal) | |
def example_signal_handler(sender, **kwargs): | |
print kwargs['arg1'] | |
print kwargs['arg2'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment