summaryrefslogtreecommitdiff
path: root/tbc
diff options
context:
space:
mode:
authorhardythe12015-08-04 14:43:11 +0530
committerhardythe12015-08-04 14:43:11 +0530
commit94d68a3a70f5c8db716e10857c850095a2d4c3bd (patch)
tree359ad7396108eb4e8eaf1ececfa0b59cb6022631 /tbc
parent3af4a84248f93f864856028d018a656003034e3d (diff)
downloadPython-TBC-Interface-94d68a3a70f5c8db716e10857c850095a2d4c3bd.tar.gz
Python-TBC-Interface-94d68a3a70f5c8db716e10857c850095a2d4c3bd.tar.bz2
Python-TBC-Interface-94d68a3a70f5c8db716e10857c850095a2d4c3bd.zip
acknowledgment mail for code update and submission
Diffstat (limited to 'tbc')
-rwxr-xr-xtbc/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tbc/views.py b/tbc/views.py
index 937ca22..1bd2cf5 100755
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -903,8 +903,7 @@ def SubmitCode(request):
subject = "Python-TBC: Codes Updated Acknowledgement"
message = """Hi """+curr_book.contributor.user.first_name+""",\nCodes for the book given below have been successfully updated.\nBook Title: """+curr_book.title+"""\nAuthor: """+curr_book.author+"""\n Publisher: """+curr_book.publisher_place+"""\nISBN: """+curr_book.isbn+"""\n\nPlease be patient while we review your updated codes & get back to you. Review will take a minimum of 25 days. Hoping for kind cooperation."""
email_send(curr_book.contributor.user.email, subject, message)
-
- return HttpResponseRedirect('/?bookupdate=done')
+ return HttpResponseRedirect('/?bookupdate=done')
if request.method == 'POST':
for i in range(1, curr_book.no_chapters+1):
chapter = Chapters()