Skip to content

Commit

Permalink
Added neeeded values for BaseValuesViewset
Browse files Browse the repository at this point in the history
  • Loading branch information
jredrejo committed Jun 21, 2024
1 parent 7ba25fd commit 7052a59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kolibri/core/discovery/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class StaticNetworkLocationViewSet(NetworkLocationViewSet):
class NetworkLocationFacilitiesView(BaseValuesViewset):
queryset = NetworkLocation.objects.all()
permission_classes = [NetworkLocationPermissions | NotProvisionedHasPermission]
values = ("device_id", "instance_id", "device_name", "device_address", "facilities")

def retrieve(self, request, pk=None):
"""
Expand Down

0 comments on commit 7052a59

Please sign in to comment.