mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-15 22:51:01 +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:
1 parent
90ac3a5a8a
commit
0e55911a6b
7 files changed
+53
-39
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user