This commit is contained in:
Oliver Walters 2020-04-20 08:25:24 +10:00
parent 4ec5e9a907
commit fee6246a8f

View File

@ -169,6 +169,7 @@ class PartDetail(generics.RetrieveUpdateAPIView):
return self.serializer_class(*args, **kwargs) return self.serializer_class(*args, **kwargs)
class PartList(generics.ListCreateAPIView): class PartList(generics.ListCreateAPIView):
""" API endpoint for accessing a list of Part objects """ API endpoint for accessing a list of Part objects