From 1e3e48475fba0230d5636d73b28268f33725709a Mon Sep 17 00:00:00 2001
From: komalsheth286
Date: Mon, 3 Oct 2016 14:16:32 +0530
Subject: email Template changes
---
website/views.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
(limited to 'website/views.py')
diff --git a/website/views.py b/website/views.py
index 089b49c..8dd0da1 100755
--- a/website/views.py
+++ b/website/views.py
@@ -153,10 +153,7 @@ def submitcfp(request):
sender_email = "scipy@fossee.in"
subject = "SciPy India 2016 – Talk Proposal Submission Acknowledgment"
to = (social_user.email, "scipy@fossee.in")
- text_content = """Dear """+proposal.user.first_name+""",
- Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled '"""+ request.POST['title']+ """'.
- Reviewal of the proposals will start once the CFP closes.\n\n
- You will be notified regarding comments/selection/rejection of your talk via email.\n"""
+ text_content = 'Dear'+ social_user.first_name+',Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled '+ request.POST['title']+'.\nReviewal of the proposals will start once the CFP closes.\n\nYou will be notified regarding comments/selection/rejection of your talk via email.\n'
html_content = 'Visit this link to view status of your submission.
Thank You !
Regards,
SciPy India 2016,
FOSSEE - IIT Bombay.'
email = EmailMultiAlternatives(
subject,text_content,
--
cgit