byro-leinelab/byro_shackspace/signals.py

10 lines
210 B
Python
Raw Normal View History

2018-02-24 23:24:14 +01:00
from django.dispatch import receiver
from byro.members.signals import new_member
@receiver(new_member)
def add_member_to_mailman(sender, signal, **kwargs):
member = sender
# TODO: magic happens here