--- a/sdi/views.py Wed Jul 14 18:27:17 2010 +0530
+++ b/sdi/views.py Wed Jul 14 20:15:39 2010 +0530
@@ -107,6 +107,18 @@
form = EmailForm()
return render_to_response("send_invi.html", {"form":form})
+@login_required
+def send_workshop_confirm(request):
+ """ Show a list of all the ppl who requested for a workshop and
+ send a confirmation mail to them if not sent.
+ """
+
+ matches = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_workshop="0")
+ if request.method == "POST":
+ pass
+ else:
+ return render_to_response("send_workshop_confirm.html", {"matches":matches})
+
def admin_login(request):
""" basic login.
"""