This commit is contained in:
7nimor
2025-08-02 14:44:06 +03:30
parent 5e5b850c73
commit fcdb1cdee9

View File

@@ -7,10 +7,11 @@ from rest_framework.decorators import action
from apps.authorization.api.v1.serializers import UserRelationSerializer
from apps.authorization.models import UserRelations
from apps.core.mixins.search_mixin import DynamicSearchMixin
from common.helper_excel import excel_description, create_header_freez, create_value
class AuthExcelViewSet(viewsets.ModelViewSet):
class AuthExcelViewSet(viewsets.ModelViewSet, DynamicSearchMixin):
queryset = UserRelations.objects.all()
serializer_class = UserRelationSerializer