File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ click-plugins==1.1.1
5959 # via celery
6060click-repl==0.3.0
6161 # via celery
62- commonground-api-common==2.6.2
62+ commonground-api-common==2.6.4
6363 # via open-api-framework
6464coreapi==2.3.3
6565 # via commonground-api-common
@@ -223,7 +223,7 @@ idna==3.7
223223 # via requests
224224inflection==0.5.1
225225 # via drf-spectacular
226- iso-639==0.4.5
226+ iso639-lang==2.6.0
227227 # via commonground-api-common
228228itypes==1.2.0
229229 # via coreapi
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ click-repl==0.3.0
113113 # celery
114114codecov==2.1.13
115115 # via -r requirements/test-tools.in
116- commonground-api-common==2.6.2
116+ commonground-api-common==2.6.4
117117 # via
118118 # -c requirements/base.txt
119119 # -r requirements/base.txt
@@ -424,7 +424,7 @@ inflection==0.5.1
424424 # drf-spectacular
425425iniconfig==2.0.0
426426 # via pytest
427- iso-639==0.4.5
427+ iso639-lang==2.6.0
428428 # via
429429 # -c requirements/base.txt
430430 # -r requirements/base.txt
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ codecov==2.1.13
141141 # via
142142 # -c requirements/ci.txt
143143 # -r requirements/ci.txt
144- commonground-api-common==2.6.2
144+ commonground-api-common==2.6.4
145145 # via
146146 # -c requirements/ci.txt
147147 # -r requirements/ci.txt
@@ -499,7 +499,7 @@ iniconfig==2.0.0
499499 # -c requirements/ci.txt
500500 # -r requirements/ci.txt
501501 # pytest
502- iso-639==0.4.5
502+ iso639-lang==2.6.0
503503 # via
504504 # -c requirements/ci.txt
505505 # -r requirements/ci.txt
Original file line number Diff line number Diff line change 1414from rest_framework .decorators import action
1515from rest_framework .generics import get_object_or_404
1616from rest_framework .response import Response
17- from vng_api_common .filters import Backend as FilterBackend
17+ from vng_api_common .filters_backend import Backend as FilterBackend
1818from vng_api_common .search import SearchMixin
1919
2020from objects .core .models import ObjectRecord
Original file line number Diff line number Diff line change 44REST_FRAMEWORK = {
55 "DEFAULT_RENDERER_CLASSES" : ["rest_framework.renderers.JSONRenderer" ],
66 "DEFAULT_PARSER_CLASSES" : ["rest_framework.parsers.JSONParser" ],
7- "DEFAULT_FILTER_BACKENDS" : ["vng_api_common.filters .Backend" ],
7+ "DEFAULT_FILTER_BACKENDS" : ["vng_api_common.filters_backend .Backend" ],
88 "DEFAULT_AUTHENTICATION_CLASSES" : [
99 "objects.token.authentication.TokenAuthentication"
1010 ],
Original file line number Diff line number Diff line change 44from drf_spectacular .plumbing import build_basic_type , build_parameter_type
55from drf_spectacular .types import OpenApiTypes
66from drf_spectacular .utils import OpenApiParameter
7- from vng_api_common import filters
7+ from vng_api_common import filters_backend
88
99from ..filters import ObjectTypeFilter
1010
1111
1212class DjangoFilterExtension (_DjangoFilterExtension ):
13- target_class = filters .Backend
13+ target_class = filters_backend .Backend
1414 priority = 1
1515
1616 def resolve_filter_field (
You can’t perform that action at this time.
0 commit comments