Commit 532cc281 authored by John Red Medrano's avatar John Red Medrano

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

* commit 'a73fef13':
  removed department of superuser
parents 25c05436 a73fef13
......@@ -46,6 +46,7 @@ class DepartmentViewSet(viewsets.ModelViewSet):
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