From e823712d4888787d84e74d73e5c65e47129f1571 Mon Sep 17 00:00:00 2001 From: through-your-tears Date: Sat, 6 Apr 2024 12:50:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BA=D1=8D=D1=88?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/organizations/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/organizations/views.py b/src/organizations/views.py index a4dac84..3723782 100644 --- a/src/organizations/views.py +++ b/src/organizations/views.py @@ -21,7 +21,7 @@ class OrganizationViewSet(ModelViewSet): @method_decorator(vary_on_cookie) @method_decorator(cache_page(settings.CACHE_TTL)) def dispatch(self, request, *args, **kwargs): - return super(OrganizationViewSet, self).dispatch(*args, **kwargs) + return super(OrganizationViewSet, self).dispatch(request, *args, **kwargs) def get_serializer_class(self): if self.action == 'list' or self.action == 'retrieve': @@ -43,7 +43,7 @@ class OrganizationSearchListAPIView(ListAPIView): @method_decorator(vary_on_cookie) @method_decorator(cache_page(settings.CACHE_TTL)) def dispatch(self, request, *args, **kwargs): - return super(OrganizationSearchListAPIView, self).dispatch(*args, **kwargs) + return super(OrganizationSearchListAPIView, self).dispatch(request, *args, **kwargs) def get_queryset(self): name = self.kwargs.get('name') @@ -69,7 +69,7 @@ class OrganizationByCategoryListAPIView(ListAPIView): @method_decorator(vary_on_cookie) @method_decorator(cache_page(settings.CACHE_TTL)) def dispatch(self, request, *args, **kwargs): - return super(OrganizationByCategoryListAPIView, self).dispatch(*args, **kwargs) + return super(OrganizationByCategoryListAPIView, self).dispatch(request, *args, **kwargs) def get_queryset(self): category = self.kwargs.get('id')