--- a/sdi/events.py Wed Jul 21 12:17:20 2010 +0530
+++ b/sdi/events.py Wed Jul 21 12:44:30 2010 +0530
@@ -59,6 +59,32 @@
send_mail(subject, message, "sagedays@fossee.in", [user.email])
+def send_cnf_email(user):
+ """ send email so that it can be shown at the gate in IIT
+ """
+
+ subject = "Sage Days 25, India - Thankyou for confirming participation"
+
+ message = """
+Dear %s %s,
+
+Thank you for confirming your participation in Sage Days 25, India.
+
+Please carry a copy of this email, to be shown at the security outpost to enter IIT Bombay.
+
+PS: Take a pass for your Laptop/Camera while entering into the campus.
+
+Thanking you,
+
+Sage Days India Team,
+FOSSEE, IIT Bombay.
+ """%(user.first_name.title(), user.last_name.title())
+
+ send_mail(subject, message, "sagedays@fossee.in", [user.email])
+
+
+
+
def mail_invi(to_emails):
""" send the invitation email to given email addresses.
"""
--- a/sdi/views.py Wed Jul 21 12:17:20 2010 +0530
+++ b/sdi/views.py Wed Jul 21 12:44:30 2010 +0530
@@ -234,7 +234,6 @@
else:
return render_to_response("cnf_sgd_ptc.html", {"user":user})
-
def admin_login(request):
""" basic login.
"""