From a71fc435e044d1c56eec180f0434e7131d25c21c Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Wed, 21 Feb 2024 18:31:43 +0100 Subject: [PATCH] # HOTFIX * drops need for authentication for calculated parcels of an entry (reports are publicly available -> does not need auth!) --- konova/views/geometry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/konova/views/geometry.py b/konova/views/geometry.py index 767762f..c9eed0d 100644 --- a/konova/views/geometry.py +++ b/konova/views/geometry.py @@ -19,7 +19,7 @@ from konova.sub_settings.lanis_settings import DEFAULT_SRID_RLP from konova.tasks import celery_update_parcels -class GeomParcelsView(LoginRequiredMixin, View): +class GeomParcelsView(View): def get(self, request: HttpRequest, id: str): """ Getter for HTMX @@ -109,7 +109,7 @@ class GeomParcelsView(LoginRequiredMixin, View): return waiting_too_long -class GeomParcelsContentView(LoginRequiredMixin, View): +class GeomParcelsContentView(View): def get(self, request: HttpRequest, id: str, page: int): """ Getter for infinite scroll of HTMX