From e1249b3b69f1a0cdea7cb4924ec53223e8fe150c Mon Sep 17 00:00:00 2001 From: through-your-tears Date: Sat, 6 Apr 2024 12:52:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BF=D0=BE=D1=82=D0=B5=D1=80=D1=8F=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D0=B9=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=20que?= =?UTF-8?q?ryset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/organizations/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/organizations/views.py b/src/organizations/views.py index 3723782..9f51ee0 100644 --- a/src/organizations/views.py +++ b/src/organizations/views.py @@ -17,6 +17,7 @@ from .serializers import CategorySerializer, OrganizationListSerializer, Organiz class OrganizationViewSet(ModelViewSet): pagination_class = PageNumberPagination permission_classes = [IsAuthorOrReadOnly] + queryset = OrganizationRepository.all() @method_decorator(vary_on_cookie) @method_decorator(cache_page(settings.CACHE_TTL))