2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-03 13:58:47 +00:00

Filter parts by template or variant status (in API)

This commit is contained in:
Oliver Walters 2019-05-26 11:15:41 +10:00
parent 2bd2ffed62
commit 1312148721

View File

@ -127,6 +127,8 @@ class PartList(generics.ListCreateAPIView):
]
filter_fields = [
'is_template',
'variant_of',
'buildable',
'consumable',
'trackable',