sdi/views.py
branchanoop
changeset 88 33200c7d163a
parent 87 911b9d0ea105
child 90 1a6e1af98624
equal deleted inserted replaced
87:911b9d0ea105 88:33200c7d163a
   111 def send_workshop_confirm(request):
   111 def send_workshop_confirm(request):
   112     """ Show a list of all the ppl who requested for a workshop and 
   112     """ Show a list of all the ppl who requested for a workshop and 
   113     send a confirmation mail to them if not sent.
   113     send a confirmation mail to them if not sent.
   114     """
   114     """
   115 
   115 
   116     matches = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_workshop="0")
   116     matches = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_workshop="1")
   117     if request.method == "POST":
   117     if request.method == "POST":
   118         pass
   118         pass
   119     else:
   119     else:
   120         return render_to_response("send_workshop_confirm.html", {"matches":matches}) 
   120         return render_to_response("send_workshop_confirm.html", {"matches":matches}) 
   121 
   121