2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

Index page rendering is now a lot faster

- Hide some elements which are currently very expensive to compute
-
This commit is contained in:
Oliver Walters
2020-04-13 22:07:14 +10:00
parent 90ac3a5a8a
commit 0e55911a6b
7 changed files with 53 additions and 39 deletions

View File

@ -301,7 +301,9 @@ class PartList(generics.ListCreateAPIView):
return Response(data)
def get_queryset(self):
"""
Implement custom filtering for the Part list API
"""
# Start with all objects
parts_list = Part.objects.all()