Filter parts by template or variant status (in API)

This commit is contained in:
Oliver Walters committed 2019-05-26 11:15:41 +10:00
1 parent 2bd2ffed62
commit 1312148721
1 file changed
+2
+2
View File
@@ -127,6 +127,8 @@ class PartList(generics.ListCreateAPIView):
] ]
filter_fields = [ filter_fields = [
'is_template',
'variant_of',
'buildable', 'buildable',
'consumable', 'consumable',
'trackable', 'trackable',