sdi/views.py
branchanoop
changeset 162 27dd4494e7b4
parent 161 c7c5c727a483
child 172 32c2b57c45f8
--- a/sdi/views.py	Thu Jul 22 19:50:36 2010 +0530
+++ b/sdi/views.py	Thu Jul 22 22:37:43 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, send_cnf_email
+from sage_days.sdi.events import send_reg_complete_mail, mail_invi, send_sgd_ptc_confirm, send_cnf_email, send_wsp_ptc_confirm
 from sage_days.settings import APACHE_URL_PREFIX as aup
 
 def register(request):
@@ -134,6 +134,8 @@
             user_info.status_of_attending_workshop = "2"
             user_info.save()
 
+        send_wsp_ptc_confirm(user)
+
         return render_to_response("sent_wsp_confirm.html", {"selected_users":selected_users})
     else:
         return render_to_response("send_wsp_cnf.html", {"attending": attending_ppl,