Skip to content

Commit

Permalink
Fix PartDetail viewset
Browse files Browse the repository at this point in the history
- Can no longer pre-fetch "attachments"
  • Loading branch information
SchrodingersGat committed Jun 25, 2024
1 parent a018485 commit 5a95f67
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inventree_kicad/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def get_queryset(self):

queryset = queryset.prefetch_related(
'parameters',
'attachments',
)

return queryset
Expand Down

0 comments on commit 5a95f67

Please sign in to comment.