summaryrefslogtreecommitdiff
path: root/app/lttr
diff options
context:
space:
mode:
Diffstat (limited to 'app/lttr')
-rw-r--r--app/lttr/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lttr/models.py b/app/lttr/models.py
index 09f1c87..af47423 100644
--- a/app/lttr/models.py
+++ b/app/lttr/models.py
@@ -490,7 +490,7 @@ class PostcardSubscriber(models.Model):
def send_notification_email(newsletter, message, instance):
recipient_list = ['sng@luxagraf.net',]
subject = _('[%(site)s] New Subscriber to "%(object)s"') % {
- 'site': get_current_site(request).name,
+ 'site': Site.objects.get_current().name,
'object': newsletter,
}
send_mail(subject, message, settings.DEFAULT_FROM_EMAIL, recipient_list, fail_silently=True)