commonground-api-common 2.5.3__py3-none-any.whl → 2.5.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {commonground_api_common-2.5.3.dist-info → commonground_api_common-2.5.5.dist-info}/METADATA +2 -2
- {commonground_api_common-2.5.3.dist-info → commonground_api_common-2.5.5.dist-info}/RECORD +8 -8
- {commonground_api_common-2.5.3.dist-info → commonground_api_common-2.5.5.dist-info}/WHEEL +1 -1
- vng_api_common/__init__.py +1 -1
- vng_api_common/conf/api.py +8 -8
- vng_api_common/utils.py +1 -10
- {commonground_api_common-2.5.3.data → commonground_api_common-2.5.5.data}/scripts/generate_schema +0 -0
- {commonground_api_common-2.5.3.dist-info → commonground_api_common-2.5.5.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
|
-
commonground_api_common-2.5.
|
2
|
-
vng_api_common/__init__.py,sha256=
|
1
|
+
commonground_api_common-2.5.5.data/scripts/generate_schema,sha256=OpKgzlFc_uzA3TVW_vHSYXAD_feLaCdTEnkWjIcxVzA,280
|
2
|
+
vng_api_common/__init__.py,sha256=UutRtbE_ZOD7CIHaQC80vf8Bv_vmHDWhwjlCbt3yseM,22
|
3
3
|
vng_api_common/admin.py,sha256=iFtUPGf-ha0I-bXgq8QIFrP23Kzk_H3FlgAjt0U-ip0,259
|
4
4
|
vng_api_common/apps.py,sha256=QQiJXRmjX9Q91oh0P9fvVnHe3NSYd1cEcUUBw0HLBCA,3690
|
5
5
|
vng_api_common/checks.py,sha256=tOyfV7MMLGh4anrd_W30LvJCxiyQ4sFs1mGd9mtrEc0,1175
|
@@ -30,7 +30,7 @@ vng_api_common/scopes.py,sha256=PGs6CkXorAAdWXGFY1bSy-jmsPn122Njen9aFFOpFIQ,2351
|
|
30
30
|
vng_api_common/search.py,sha256=yehS6boCOk1JXLCqAMU-B62hWtbTBSf_WKIVGPgp0Mg,1045
|
31
31
|
vng_api_common/serializers.py,sha256=NdrZJqP7p54lRKoKG4mEDS9MqaMcPESIr4dB1tnLaqI,10163
|
32
32
|
vng_api_common/urls.py,sha256=9IWHYLlEIIHNaZ_Zq02qNQ2HJpETb7o-89r7yBM_tQs,270
|
33
|
-
vng_api_common/utils.py,sha256=
|
33
|
+
vng_api_common/utils.py,sha256=EHqVjZhtqnbU7YrqgYIBss28Sd19jtnTLNaMWLfj3Zw,8203
|
34
34
|
vng_api_common/validators.py,sha256=ejaFZvFXFaBlqxjA2_07NSHKHlG5pejrfC_GHjwCj6E,12852
|
35
35
|
vng_api_common/version.py,sha256=yJV9_yTM7Qnzg0zGNkJQkN9Uai3I_ZUkcyseJRPRk5I,129
|
36
36
|
vng_api_common/views.py,sha256=pxpI2dl22I9auTYvRJ-Rx-_NHAKgo1F2QwQJF6WIjrE,7603
|
@@ -106,7 +106,7 @@ vng_api_common/caching/models.py,sha256=RroS9HFiKNXDV59Odh0x8BO8Az8E81v4gwuprF1A
|
|
106
106
|
vng_api_common/caching/registry.py,sha256=mY1r99x7m0DQ1BN9lZF2zMjFj_oDNq7urxDkOH7-8Yg,6205
|
107
107
|
vng_api_common/caching/signals.py,sha256=78ej5cVan-JpNHKzZNAfs0m2ON_TXKphe8ZKtP-6FVY,4615
|
108
108
|
vng_api_common/conf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
109
|
-
vng_api_common/conf/api.py,sha256=
|
109
|
+
vng_api_common/conf/api.py,sha256=lKQWJyRjhQugA6UJuJb7BHZfXd2ZnFsYRLmsehDdaQg,3150
|
110
110
|
vng_api_common/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
111
111
|
vng_api_common/contrib/setup_configuration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
112
112
|
vng_api_common/contrib/setup_configuration/models.py,sha256=1-G0hXeRe-x6GYtsAaQeMGXq0-cwU5LMb8KTQWj-pQk,1201
|
@@ -183,7 +183,7 @@ vng_api_common/tests/auth.py,sha256=IKDWTEFv4Bign4F70-ibsFcnJqRxEJaXvqaPQJWa1xY,
|
|
183
183
|
vng_api_common/tests/caching.py,sha256=zfIw5cRRvO9cekHZZKfRqZc8cx5IfJUYNmcH6cuIMg4,624
|
184
184
|
vng_api_common/tests/schema.py,sha256=WDvifDQQiKqIpQijpeQ7rYkFroJmuPuHe7zNhl1Bigk,2293
|
185
185
|
vng_api_common/tests/urls.py,sha256=PFrYzQbBC0TFPMEn3uPhcBG0IQs9JsEPqckicJT1UA4,2159
|
186
|
-
commonground_api_common-2.5.
|
187
|
-
commonground_api_common-2.5.
|
188
|
-
commonground_api_common-2.5.
|
189
|
-
commonground_api_common-2.5.
|
186
|
+
commonground_api_common-2.5.5.dist-info/METADATA,sha256=-ob8zNCm7QtO8IekDfwux_xZx00EdHYWqEKoqa6_sNU,6988
|
187
|
+
commonground_api_common-2.5.5.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
188
|
+
commonground_api_common-2.5.5.dist-info/top_level.txt,sha256=vPismc83zPzWXTmlNCCwfDlFV9iygJYxNJW5iDjKTgw,15
|
189
|
+
commonground_api_common-2.5.5.dist-info/RECORD,,
|
vng_api_common/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "2.5.
|
1
|
+
__version__ = "2.5.5"
|
vng_api_common/conf/api.py
CHANGED
@@ -3,18 +3,18 @@ __all__ = [
|
|
3
3
|
"BASE_REST_FRAMEWORK",
|
4
4
|
"BASE_SPECTACULAR_SETTINGS",
|
5
5
|
"COMMON_SPEC",
|
6
|
-
"
|
7
|
-
"GEMMA_URL_TEMPLATE",
|
6
|
+
"COMMONGROUND_API_COMMON_GET_DOMAIN",
|
8
7
|
"GEMMA_URL_COMPONENTTYPE",
|
9
|
-
"GEMMA_URL_INFORMATIEMODEL",
|
10
8
|
"GEMMA_URL_INFORMATIEMODEL_VERSIE",
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"NOTIFICATIONS_DISABLED",
|
9
|
+
"GEMMA_URL_INFORMATIEMODEL",
|
10
|
+
"GEMMA_URL_TEMPLATE",
|
14
11
|
"JWT_LEEWAY",
|
15
|
-
"SECURITY_DEFINITION_NAME",
|
16
|
-
"COMMONGROUND_API_COMMON_GET_DOMAIN",
|
17
12
|
"JWT_SPECTACULAR_SETTINGS",
|
13
|
+
"LINK_FETCHER",
|
14
|
+
"NOTIFICATIONS_DISABLED",
|
15
|
+
"NOTIFICATIONS_KANAAL",
|
16
|
+
"REDOC_SETTINGS",
|
17
|
+
"SECURITY_DEFINITION_NAME",
|
18
18
|
]
|
19
19
|
|
20
20
|
API_VERSION = "1.0.0-rc1" # semantic version
|
vng_api_common/utils.py
CHANGED
@@ -5,7 +5,6 @@ from typing import TYPE_CHECKING, List, Optional, Union
|
|
5
5
|
|
6
6
|
from django.apps import apps
|
7
7
|
from django.conf import settings
|
8
|
-
from django.core.exceptions import ImproperlyConfigured
|
9
8
|
from django.db import models
|
10
9
|
from django.http import HttpRequest
|
11
10
|
from django.urls import Resolver404, ResolverMatch, get_resolver, get_script_prefix
|
@@ -266,12 +265,4 @@ def get_site_domain() -> str:
|
|
266
265
|
``COMMONGROUND_API_COMMON_GET_DOMAIN`` setting, which takes a dotted path to a
|
267
266
|
callable taking no arguments.
|
268
267
|
"""
|
269
|
-
|
270
|
-
raise ImproperlyConfigured(
|
271
|
-
"'django.contrib.sites' is not installed in INSTALLED_APPS"
|
272
|
-
)
|
273
|
-
|
274
|
-
from django.contrib.sites.models import Site
|
275
|
-
|
276
|
-
site = Site.objects.get_current()
|
277
|
-
return site.domain
|
268
|
+
return settings.SITE_DOMAIN
|
{commonground_api_common-2.5.3.data → commonground_api_common-2.5.5.data}/scripts/generate_schema
RENAMED
File without changes
|
{commonground_api_common-2.5.3.dist-info → commonground_api_common-2.5.5.dist-info}/top_level.txt
RENAMED
File without changes
|