diff -r b38de804ff4d -r ab554d46fd34 sdi/views.py --- a/sdi/views.py Thu Jul 15 14:06:58 2010 +0530 +++ b/sdi/views.py Thu Jul 15 14:21:09 2010 +0530 @@ -124,6 +124,26 @@ else: return render_to_response("send_workshop_confirm.html", {"matches":matches}) +def confirm_wsp_participation(request, uid): + """ match id versus email and take lappy details. + """ + + if request.method == "POST": + pass + else: + try: + email = request.GET['email'] + except MultiValueDictKeyError: + raise Http404 + + try: + Registrant.objects.get(id=uid, email=email) + except Registrant.DoesNotExist: + raise Http404 + + return render_to_response("cnf_wsp_ptc.html", {"email":email}) + + def admin_login(request): """ basic login. """