From 82a2acd843089c9377b28ce223f7288adc68cf52 Mon Sep 17 00:00:00 2001 From: Sergey Klyuykov Date: Tue, 29 May 2018 20:07:59 +1000 Subject: [PATCH] Fix ugly merge --- polemarch/api/v1/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polemarch/api/v1/views.py b/polemarch/api/v1/views.py index 1a1e4eac..608c1ea5 100644 --- a/polemarch/api/v1/views.py +++ b/polemarch/api/v1/views.py @@ -78,7 +78,7 @@ class GroupViewSet(PermissionMixin, base.ModelViewSetSet, _GroupedViewSet): filter_class = filters.GroupFilter -class InventoryViewSet(base.ModelViewSetSet, _GroupedViewSet): +class InventoryViewSet(PermissionMixin, base.ModelViewSetSet, _GroupedViewSet): model = serializers.models.Inventory serializer_class = serializers.InventorySerializer serializer_class_one = serializers.OneInventorySerializer