Here be dragons

This commit is contained in:
Tobias Kunze 2018-02-24 23:24:14 +01:00
parent a486bc4e9c
commit 2a2fac248d
2 changed files with 10 additions and 0 deletions

View File

@ -9,6 +9,7 @@ class PluginConfig(AppConfig):
def ready(self): def ready(self):
from . import utils # noqa from . import utils # noqa
from . import signals # noqa
default_app_config = 'byro_shackspace.PluginConfig' default_app_config = 'byro_shackspace.PluginConfig'

View File

@ -0,0 +1,9 @@
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