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