mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-03 17:05:18 +00:00
Fix for part category API
This commit is contained in:
1 parent
4c07e8d8a0
commit
5853a5767c
1 file changed
+1
-1
@@ -39,4 +39,4 @@ class PartCategoryList(generics.ListAPIView):
|
|||||||
Categories are considered "top-level" if they do not have a parent
|
Categories are considered "top-level" if they do not have a parent
|
||||||
"""
|
"""
|
||||||
queryset = PartCategory.objects.filter(parent=None)
|
queryset = PartCategory.objects.filter(parent=None)
|
||||||
serializer_class = PartCategoryBriefSerializer
|
serializer_class = PartCategoryDetailSerializer
|
||||||
Reference in new issue
Block a user