fixed a typo and corrected at various places accordingly anoop
authornishanth
Tue, 20 Jul 2010 12:16:50 +0530
branchanoop
changeset 137 02a5304a2c5f
parent 136 b68ff7095ca5
child 138 c9ae768c55b7
fixed a typo and corrected at various places accordingly
sdi/events.py
sdi/views.py
--- a/sdi/events.py	Sat Jul 17 02:16:30 2010 +0530
+++ b/sdi/events.py	Tue Jul 20 12:16:50 2010 +0530
@@ -31,7 +31,7 @@
 
     send_mail(subject, message, "sagedays@fossee.in", [email])
 
-def send_wsp_ptc_confirm(user):
+def send_sgd_ptc_confirm(user):
     """ send a mail telling that you have been selected to attend sage days.
     """
 
--- a/sdi/views.py	Sat Jul 17 02:16:30 2010 +0530
+++ b/sdi/views.py	Tue Jul 20 12:16:50 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_wsp_ptc_confirm
+from sage_days.sdi.events import send_reg_complete_mail, mail_invi, send_sgd_ptc_confirm
 from sage_days.settings import APACHE_URL_PREFIX as aup
 
 def register(request):
@@ -151,7 +151,7 @@
             user_info.status_of_attending_sagedays = "2"
             user_info.save()
 
-            send_wsp_ptc_confirm(user)
+            send_sgd_ptc_confirm(user)
         
         return render_to_response("sent_sgd_confirm.html", {"selected_users":selected_users})
     else: