From 1f417fdf128ce7fe7fd36acdb709d9e2516481a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=A1=D0=B0=D1=80=D0=B0?= =?UTF-8?q?=D0=BF=D1=83=D0=BB=D0=BE=D0=B2?= Date: Wed, 17 May 2023 03:07:45 +1000 Subject: [PATCH] delete comm --- pairent_backend/pairent_app/views.py | 31 ---------------------------- 1 file changed, 31 deletions(-) diff --git a/pairent_backend/pairent_app/views.py b/pairent_backend/pairent_app/views.py index a0e10eb..348a55f 100644 --- a/pairent_backend/pairent_app/views.py +++ b/pairent_backend/pairent_app/views.py @@ -257,34 +257,3 @@ class UserGet(APIView): return JsonResponse(PublicUserSerializer(user).data); - - - - -# for user_answer in users_answers_query: -# score = 0 -# if user_answer.first_question == scores_this_user.first_question: -# score += 1 -# if user_answer.second_question == scores_this_user.second_question: -# score += 1 -# if user_answer.third_question == scores_this_user.third_question: -# score += 1 -# if user_answer.fourth_question == scores_this_user.fourth_question: -# score += 1 -# if user_answer.fifth_question == scores_this_user.fifth_question: -# score += 1 -# if user_answer.sixth_question == scores_this_user.sixth_question: -# score += 1 -# if user_answer.seventh_question == scores_this_user.seventh_question: -# score += 1 -# if user_answer.eighth_question == scores_this_user.eighth_question: -# score += 1 -# if user_answer.nineth_question == scores_this_user.nineth_question: -# score += 1 -# if user_answer.tenth_question == scores_this_user.tenth_question: -# score += 1 -# if user_answer.eleventh_question == scores_this_user.eleventh_question: -# score += 1 -# if user_answer.twelfth_question == scores_this_user.twelfth_question: -# score += 1 -# if \ No newline at end of file