Example #1
0
 def post(self,request):
     doctorID = int(request.POST.get('doctorInput'))
     args = list_patients(request,doctorID)
     return render(request,'doctorCheckBirth.html',args)
Example #2
0
 def get(self,request):
     doctorID = getDoctorList(request)[0]['id']
     args = list_patients(request,doctorID)
     return render_to_response('doctorCheckBirth.html',args)