Navigation Menu

Skip to content

Commit

Permalink
Quote title in e-mails
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Oct 11, 2015
1 parent 932661f commit 5915c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/views.py
Expand Up @@ -121,7 +121,7 @@ def add(request):
context['site'] = site

send_mail("Nikola Users addition request for {0}".format(site.url),
"{0} <{1}> has requested addition of {2} <{3}> to the Nikola Users site.\nPlease visit the admin panel to accept or reject it:\nhttps://users.getnikola.com/admin/".format(
'{0} <{1}> has requested addition of "{2}" <{3}> to the Nikola Users site.\nPlease visit the admin panel to accept or reject it: https://users.getnikola.com/admin/'.format(
site.author, site.email, site.title, site.url),
'noreply@getnikola.com', ['users@getnikola.com'], fail_silently=False)

Expand Down

0 comments on commit 5915c04

Please sign in to comment.