sdi/events.py
branchanoop
changeset 193 9b2a63bb8d16
parent 188 a537559a96c9
child 195 145053464556
--- a/sdi/events.py	Thu Jul 29 11:56:26 2010 +0530
+++ b/sdi/events.py	Thu Jul 29 15:59:18 2010 +0530
@@ -37,6 +37,23 @@
 
     subject = "Sage Days 25, India - Python Workshop"
 
+    subject_cancellation = "Sage Days 25, India - Cancellation of Python Workshop"
+
+    message_cancellation = """
+Dear %s %s,
+
+We are sorry to announce that we are cancelling the one day Pre-Sage Days
+workshop which was scheduled on July 31st.
+
+It has been cancelled due to low response from the people who requested 
+for the workshop.
+
+Thanking you,
+
+Sage Days India Team,
+FOSSEE, IIT Bombay.
+    """%(user.first_name.title(), user.last_name.title(), user.id, user.email)
+
     message = """
 Dear %s %s,
 
@@ -69,7 +86,7 @@
 FOSSEE, IIT Bombay.
     """%(user.first_name.title(), user.last_name.title(), user.id, user.email)
 
-    send_mail(subject, message, "sagedays@fossee.in", [user.email])
+    send_mail(subject_cancellation, message_cancellation, "sagedays@fossee.in", [user.email])
 
 
 def send_sgd_ptc_confirm(user):