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