equal
deleted
inserted
replaced
166 user = Registrant.objects.get(id=uid, email=email) |
166 user = Registrant.objects.get(id=uid, email=email) |
167 except Registrant.DoesNotExist: |
167 except Registrant.DoesNotExist: |
168 raise Http404 |
168 raise Http404 |
169 |
169 |
170 user_info = user.registrantinfo_set.all()[0] |
170 user_info = user.registrantinfo_set.all()[0] |
171 status = user_info.status_of_attending_workshop |
171 status = user_info.status_of_attending_sagedays |
172 if status == "3": |
172 if status == "3": |
173 return render_to_response("attending_wsp.html") |
173 return render_to_response("attending_wsp.html") |
174 elif status != "2": |
174 elif status != "2": |
175 raise Http404 |
175 raise Http404 |
176 |
176 |