Проверен вывод информации на клиент
This commit is contained in:
1 parent
bae4547681
commit
ff92bca09c
3 files changed
+24
-29
No files matched your search
+1
-1
@@ -11,4 +11,4 @@ class SafetyFileAPIView(APIView):
|
||||
all_file = SafetyFile.objects.all()
|
||||
serializer_for_file = SafetyFileSerializer(instance=all_file, many=True)
|
||||
|
||||
return Response({'safety_files': serializer_for_file.data})
|
||||
return Response(serializer_for_file.data)
|
||||
Reference in new issue
Block a user