delete comm
This commit is contained in:
parent
44e1aef2ae
commit
1f417fdf12
|
@ -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
|
Loading…
Reference in New Issue