From 58c82e11b94475adf3c607338f97ffde7f592cd2 Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Tue, 30 Apr 2024 14:01:36 +0200 Subject: [PATCH] fix river --- georiviere/portal/views/river.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/georiviere/portal/views/river.py b/georiviere/portal/views/river.py index 10b36e5a..f53a8b0b 100644 --- a/georiviere/portal/views/river.py +++ b/georiviere/portal/views/river.py @@ -3,7 +3,6 @@ from django.db.models import F, Prefetch from rest_framework import filters, viewsets -# from georiviere.decorators import view_cache_response_content, view_cache_latest from georiviere.main.models import Attachment from georiviere.portal.filters import SearchNoAccentFilter from georiviere.portal.serializers.river import ( @@ -41,8 +40,3 @@ def get_queryset(self): def view_cache_key(self): return f"stream-{self.kwargs['portal_pk']}" - - # @view_cache_latest() - # @view_cache_response_content() - def list(self, request, *args, **kwargs): - return super().list(request, *args, **kwargs)