sdi/views.py
branchanoop
changeset 149 1f53ccd82a21
parent 148 f986e4fee615
child 151 c5915459e48b
--- 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})