2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-08 04:40:57 +00:00

PEP fixes

This commit is contained in:
Oliver Walters
2020-10-06 11:31:04 +11:00
parent dc2c9aa662
commit c740cce5e4
2 changed files with 3 additions and 7 deletions

View File

@@ -53,7 +53,6 @@ class PartIndex(InvenTreeRoleMixin, ListView):
role_required = 'part.view'
def get_queryset(self):
return Part.objects.all().select_related('category')