--- 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: