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',