Commit f1fc9fe1 authored by John Red Medrano's avatar John Red Medrano

exclude oneberry on company management

parent 3abf6786
......@@ -45,6 +45,7 @@ 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