This commit is contained in:
Cja committed 2025-01-24 10:29:24 +03:00
1 parent de3bb4fdc6
commit 10a9dc2910
2 files changed
+5

No files matched your search

+4
View File
@@ -22,6 +22,10 @@ class TestDetail(generics.RetrieveUpdateDestroyAPIView):
lookup_url_kwarg = 'id'
lookup_field = 'id'
class TestList(generics.ListAPIView):
queryset = Test.objects.all()
serializer_class = TestSerializer
class GetTesting(APIView):
def get(self, request):