P-78
This commit is contained in:
1 parent
de3bb4fdc6
commit
10a9dc2910
2 files changed
+5
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user