Here be dragons
This commit is contained in:
parent
a486bc4e9c
commit
2a2fac248d
@ -9,6 +9,7 @@ class PluginConfig(AppConfig):
|
||||
|
||||
def ready(self):
|
||||
from . import utils # noqa
|
||||
from . import signals # noqa
|
||||
|
||||
|
||||
default_app_config = 'byro_shackspace.PluginConfig'
|
||||
|
9
byro_shackspace/signals.py
Normal file
9
byro_shackspace/signals.py
Normal 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
|
Loading…
Reference in New Issue
Block a user