# HG changeset patch # User nishanth # Date 1279696885 -19800 # Node ID 1f53ccd82a21aeb35663c0100cad842c68f6975b # Parent f986e4fee615d538507a48d53a988a784bb257ec included the send_cnf_email event in views but right now, it is commented diff -r f986e4fee615 -r 1f53ccd82a21 sdi/views.py --- a/sdi/views.py Wed Jul 21 12:44:30 2010 +0530 +++ b/sdi/views.py Wed Jul 21 12:51:25 2010 +0530 @@ -7,7 +7,7 @@ from sage_days.sdi.models import Registrant, RegistrantInfo, ParticipantInfo from sage_days.sdi.forms import RegisterForm, SearchForm, EmailForm, LoginForm, UserSelectForm, ParticipantInfoForm -from sage_days.sdi.events import send_reg_complete_mail, mail_invi, send_sgd_ptc_confirm +from sage_days.sdi.events import send_reg_complete_mail, mail_invi, send_sgd_ptc_confirm, send_cnf_email from sage_days.settings import APACHE_URL_PREFIX as aup def register(request): @@ -230,6 +230,8 @@ user_info.status_of_attending_sagedays = "3" user_info.save() + #send_cnf_email(user) + return render_to_response("attending_sgd.html", {"user":user}) else: return render_to_response("cnf_sgd_ptc.html", {"user":user})