2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Improve filtering / ordering / sorting for purchase-order API

This commit is contained in:
Oliver Walters
2019-12-09 21:19:35 +11:00
parent 5e9b012031
commit 25e5a64cee
4 changed files with 122 additions and 0 deletions

View File

@ -31,6 +31,7 @@ class CompanyList(generics.ListCreateAPIView):
serializer_class = CompanySerializer
queryset = Company.objects.all()
permission_classes = [
permissions.IsAuthenticated,
]