From 1f7ff0ef489c7499b8edfd3c3930e66bde8db1fd Mon Sep 17 00:00:00 2001 From: Tanner Prestegard <tanner.prestegard@ligo.org> Date: Tue, 27 Dec 2016 11:02:49 -0600 Subject: [PATCH] final tweaks to contact tests --- userprofile/views.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/userprofile/views.py b/userprofile/views.py index 2ae22244b..df8cccbb6 100644 --- a/userprofile/views.py +++ b/userprofile/views.py @@ -174,9 +174,8 @@ def testContact(request, id): try: subject = 'Test of contact "{0}" from {1}' \ .format(c.desc, hostname) - message = ('This is test e-mail from https://{0}.ligo.org to' - ' verify your information for contact "{1}".') \ - .format(hostname, c.desc) + message = ('This is a test of contact "{0}" from ' + 'https://{1}.ligo.org.').format(c.desc, hostname) email = EmailMessage(subject, message, settings.SERVER_EMAIL, [c.email], []) email.send() -- GitLab