Skip to content

Commit 7cd61a8

Browse files
TimdeBeer1danielmursa-dev
authored andcommitted
➕ add commonground-api-common=2.6.4 dependency and change filters to filters_backend
1 parent f606ef9 commit 7cd61a8

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

requirements/base.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ click-plugins==1.1.1
5959
# via celery
6060
click-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
6464
coreapi==2.3.3
6565
# via commonground-api-common
@@ -223,7 +223,7 @@ idna==3.7
223223
# via requests
224224
inflection==0.5.1
225225
# via drf-spectacular
226-
iso-639==0.4.5
226+
iso639-lang==2.6.0
227227
# via commonground-api-common
228228
itypes==1.2.0
229229
# via coreapi

requirements/ci.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ click-repl==0.3.0
113113
# celery
114114
codecov==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
425425
iniconfig==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

requirements/dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/objects/api/v2/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from rest_framework.decorators import action
1515
from rest_framework.generics import get_object_or_404
1616
from 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
1818
from vng_api_common.search import SearchMixin
1919

2020
from objects.core.models import ObjectRecord

src/objects/conf/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
REST_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
],

src/objects/utils/oas_extensions/query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
from drf_spectacular.plumbing import build_basic_type, build_parameter_type
55
from drf_spectacular.types import OpenApiTypes
66
from drf_spectacular.utils import OpenApiParameter
7-
from vng_api_common import filters
7+
from vng_api_common import filters_backend
88

99
from ..filters import ObjectTypeFilter
1010

1111

1212
class DjangoFilterExtension(_DjangoFilterExtension):
13-
target_class = filters.Backend
13+
target_class = filters_backend.Backend
1414
priority = 1
1515

1616
def resolve_filter_field(

0 commit comments

Comments
 (0)