sdi/views.py
branchanoop
changeset 118 6c3602582f9f
parent 117 af9472ab8f3e
child 120 f9408ab30ace
--- a/sdi/views.py	Sat Jul 17 00:08:33 2010 +0530
+++ b/sdi/views.py	Sat Jul 17 00:26:16 2010 +0530
@@ -7,7 +7,7 @@
 
 from sage_days.sdi.models import Registrant
 from sage_days.sdi.forms import RegisterForm, SearchForm, EmailForm, LoginForm, UserSelectForm
-from sage_days.sdi.events import send_reg_complete_mail, mail_invi
+from sage_days.sdi.events import send_reg_complete_mail, mail_invi, send_wsp_ptc_confirm
 from sage_days.settings import APACHE_URL_PREFIX as aup
 
 def register(request):
@@ -143,6 +143,8 @@
             user_info = user.registrantinfo_set.all()[0]
             user_info.status_of_attending_sagedays = "2"
             user_info.save()
+
+            send_wsp_ptc_confirm(user)
         
         return render_to_response("sent_sgd_confirm.html", {"selected_users":selected_users})
     else: