From 7e04d88ca4e608ef5dcbdb42f5bbd608b9108ba1 Mon Sep 17 00:00:00 2001 From: why-not-try-calmer Date: Fri, 29 Sep 2023 11:11:47 +0200 Subject: [PATCH] format, renamed var --- src/django_oapif/decorators.py | 2 +- src/signalo/core/tests.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/django_oapif/decorators.py b/src/django_oapif/decorators.py index 7d7b98a9..330d6bda 100644 --- a/src/django_oapif/decorators.py +++ b/src/django_oapif/decorators.py @@ -90,7 +90,7 @@ class Viewset(OAPIFDescribeModelViewSetMixin, viewsets.ModelViewSet): oapif_description = Model.__doc__ # (one day this will be retrieved automatically from the serializer) - oapif_geom_lookup = _viewset_oapif_geom_lookup + oapif_geom_lookup = viewset_oapif_geom_lookup filter_backends = [BboxFilterBackend] # Allowing '.' and '-' in urls diff --git a/src/signalo/core/tests.py b/src/signalo/core/tests.py index ec6d3ad8..389cc918 100644 --- a/src/signalo/core/tests.py +++ b/src/signalo/core/tests.py @@ -1,7 +1,6 @@ import cProfile import inspect import io -import json import logging import os import pstats