Commit 0cbe37e3 authored by John Red Medrano's avatar John Red Medrano

Merge pull request #360 in RMS/api-main-service from red-develop to RMSv2

* commit 'afcbb0e8':
  push
  exclude oneberry on company management
parents 6bfc6119 afcbb0e8
......@@ -45,6 +45,9 @@ class CompanyViewSet(viewsets.ModelViewSet):
@decorators.rms.company_list
def list(self, request, *args, **kwargs):
queryset = self.filter_queryset(self.get_queryset())
queryset = queryset.exclude(id=1)
page = self.paginate_queryset(queryset)
if page is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment