|
@@ -69,10 +69,10 @@ def send_registration_notification(sender, user, request=None, **kwargs):
|
|
|
"""
|
|
|
relative_link = reverse('admin:members_member_change', args=[user.id])
|
|
|
edit_link = request.build_absolute_uri(relative_link)
|
|
|
- if settings.NOTIFICATION_EMAILS is not None:
|
|
|
+ if settings.SUBSCRIPTIONS_NOTIFICATION_EMAILS:
|
|
|
utils.send_templated_email(
|
|
|
- to=settings.NOTIFICATION_EMAILS,
|
|
|
subject_template='members/emails/new_member_subject.txt',
|
|
|
+ to=settings.SUBSCRIPTIONS_NOTIFICATION_EMAILS,
|
|
|
body_template='members/emails/new_member_email.html',
|
|
|
context={'member': user, 'edit_link': edit_link},
|
|
|
**kwargs)
|