forked from uncloud/uncloud
Late commits
This commit is contained in:
parent
49f52fd41d
commit
a463bcf7bd
9 changed files with 161 additions and 14 deletions
|
|
@ -295,6 +295,11 @@ class OrderViewSet(viewsets.ReadOnlyModelViewSet):
|
|||
def get_queryset(self):
|
||||
return Order.objects.filter(owner=self.request.user)
|
||||
|
||||
class VATRateViewSet(viewsets.ReadOnlyModelViewSet):
|
||||
serializer_class = VATRateSerializer
|
||||
permission_classes = [permissions.IsAuthenticated]
|
||||
queryset = VATRate.objects.all()
|
||||
|
||||
class BillingAddressViewSet(mixins.CreateModelMixin,
|
||||
mixins.RetrieveModelMixin,
|
||||
mixins.UpdateModelMixin,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue