From 195b9e8037c232a96fd6fed5a4973f331daf5abc Mon Sep 17 00:00:00 2001 From: uttamthummala Date: Wed, 4 Oct 2023 00:23:36 +0530 Subject: [PATCH] removed debug statements --- CDC_Backend/APIs/studentViews.py | 3 +-- CDC_Backend/APIs/utils.py | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CDC_Backend/APIs/studentViews.py b/CDC_Backend/APIs/studentViews.py index ad67aec..660e444 100644 --- a/CDC_Backend/APIs/studentViews.py +++ b/CDC_Backend/APIs/studentViews.py @@ -48,7 +48,7 @@ def refresh(request): @isAuthorized(allowed_users=[STUDENT]) def studentProfile(request, id, email, user_type): try: - print(id) + #print(id) studentDetails = get_object_or_404(Student, id=id) data = StudentSerializer(studentDetails).data @@ -117,7 +117,6 @@ def getDashboard(request, id, email, user_type): offer_accepted=True, email_verified=True).order_by('deadline_datetime') filtered_internships = internship_eligibility_filters(studentDetails, internships) - print(len(filtered_internships)) internshipsdata = InternshipSerializerForStudent(filtered_internships, many=True).data internshipApplications = InternshipApplication.objects.filter(student_id=id) diff --git a/CDC_Backend/APIs/utils.py b/CDC_Backend/APIs/utils.py index a31d5d1..69e97a2 100644 --- a/CDC_Backend/APIs/utils.py +++ b/CDC_Backend/APIs/utils.py @@ -395,8 +395,6 @@ def internship_eligibility_filters(student, internships): if InternshipApplicationConditions(student, internship)[0]: filtered_internships.append(internship) - else: - print("Not applicable") return filtered_internships except: