Gitlab will migrate to a new storage backend starting 0300 UTC on 2020-04-04. We do not anticipate a maintenance window for this migration. Performance may be impacted over the weekend. Thanks for your patience.

Commit 3419b0a0 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Small fixes to alert contact test and notification delete views

parent e904cf9a
......@@ -126,7 +126,7 @@ class DeleteNotificationView(DeleteView):
def delete(self, request, *args, **kwargs):
response = super(DeleteNotificationView, self).delete(request, *args,
**kwargs), 'Notification {n} has been deleted.'.format(, 'Notification "{n}" has been deleted.'.format(
return response
......@@ -248,8 +248,8 @@ class TestContactView(DetailView):
subject = 'Test of contact "{desc}" from {host}'.format(
desc=self.object.description, host=settings.LIGO_FQDN)
email = EmailMessage(subject, msg, settings.ALERT_EMAIL_FROM,
[], [])
email = EmailMessage(subject, msg,
from_email=settings.ALERT_EMAIL_FROM, to=[])
# Get "from" phone number.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment