P-117, добавление в результаты непрогол.польз

This commit is contained in:
Cja committed 2025-01-22 14:41:34 +03:00
1 parent e491052872
commit 8d03b0dc98
1 file changed
+3
+3
View File
@@ -198,6 +198,9 @@ class GetResults(APIView):
if answer['name'] in answers_names:
answer['employee'] = employee_dict.get(int(answer['name']))
participants = Participant.objects.filter(vote=vote)
serialized_data['nonvoting'] = ParticipantSerializer(participants, many=True).data
return Response(serialized_data)
from rest_framework.views import exception_handler