# HG changeset patch # User nishanth # Date 1279696470 -19800 # Node ID f986e4fee615d538507a48d53a988a784bb257ec # Parent 76935f280a4d2ac8ec7501afb654d9b324c52891 created mail that should be shown to enter IIT for sgedays diff -r 76935f280a4d -r f986e4fee615 sdi/events.py --- 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. """ diff -r 76935f280a4d -r f986e4fee615 sdi/views.py --- 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. """