Skip to content
Snippets Groups Projects
Commit 1f7ff0ef authored by Tanner Prestegard's avatar Tanner Prestegard Committed by Alexander Pace
Browse files

final tweaks to contact tests

parent ed8858d2
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment