10 lines
210 B
Python
10 lines
210 B
Python
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
|