mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 10:35:40 +00:00
Add custom "list" function back in
- Actually does make a significant difference to query speed
This commit is contained in:
@ -296,8 +296,9 @@ class PartManager(models.Manager):
|
||||
|
||||
return super().get_queryset().prefetch_related(
|
||||
'category',
|
||||
'category__parent',
|
||||
'stock_items',
|
||||
'builds',
|
||||
'builds',
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user