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 committed 2020-04-13 22:07:14 +10:00
1 parent 90ac3a5a8a
commit 0e55911a6b
7 files changed
+53 -39

No files matched your search

+3 -1
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()