diff --git a/api/v1/views/users_view.py b/api/v1/views/users_view.py index 8ae854b..85592eb 100644 --- a/api/v1/views/users_view.py +++ b/api/v1/views/users_view.py @@ -7,7 +7,6 @@ from rest_framework import filters from rest_framework.decorators import action from rest_framework.filters import OrderingFilter -from rest_framework.pagination import LimitOffsetPagination from rest_framework.response import Response from api.v1.filters import CustomFilter @@ -27,7 +26,6 @@ "./?ordering=full_name " "и должности ./?ordering=-position_name" "
  • Поиск по ФИО и должности ./?search=Мирон
  • " - "
  • Ограничение pagination ./?limit=5.
  • " "
  • Фильтр по id команды ./?team=1
  • " "
  • Фильтр по id команды и отсутствию ИПР " "./?team=1&no_ipr=true
  • " @@ -60,7 +58,6 @@ class UserViewSet(UserViewSetFromDjoser): "position__name", ) serializer_class = CustomUserSerializer - pagination_class = LimitOffsetPagination http_method_names = ["get", "head", "options"] ordering_fields = ("full_name", "position_name")