included the send_cnf_email event in views but right now, it is commented anoop
authornishanth
Wed, 21 Jul 2010 12:51:25 +0530
branchanoop
changeset 149 1f53ccd82a21
parent 148 f986e4fee615
child 150 c5afcbaab4e6
included the send_cnf_email event in views but right now, it is commented
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})