rest_framework.permissions IsAuthenticated rest_framework mixins django_filters.rest_framework DjangoFilterBackend rest_framework filters (mixins.ListModelMixinmixins.RetrieveModelMixinviewsets.GenericViewSet): permission_classes = (IsAuthenticated) queryset = Warehouse.objects.all() serializer_class = WarehouseSerializer filter_backends = (DjangoFilterBackendfilters.OrderingFilter) filter_fields = ()
一只奥利奥的猫
慕勒0600682
相关分类