From fee6246a8f0f6b75d66a818570d31b720a2a1b75 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 20 Apr 2020 08:25:24 +1000 Subject: [PATCH] PEP fix --- InvenTree/part/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/part/api.py b/InvenTree/part/api.py index a2e765796b..51a4a35938 100644 --- a/InvenTree/part/api.py +++ b/InvenTree/part/api.py @@ -169,6 +169,7 @@ class PartDetail(generics.RetrieveUpdateAPIView): return self.serializer_class(*args, **kwargs) + class PartList(generics.ListCreateAPIView): """ API endpoint for accessing a list of Part objects