mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-08 04:40:57 +00:00
PEP fixes
This commit is contained in:
@@ -53,7 +53,6 @@ class PartIndex(InvenTreeRoleMixin, ListView):
|
||||
|
||||
role_required = 'part.view'
|
||||
|
||||
|
||||
def get_queryset(self):
|
||||
return Part.objects.all().select_related('category')
|
||||
|
||||
|
Reference in New Issue
Block a user