commonground-api-common 2.4.1__py3-none-any.whl → 2.5.1__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.4.1.dist-info → commonground_api_common-2.5.1.dist-info}/METADATA +2 -2
- {commonground_api_common-2.4.1.dist-info → commonground_api_common-2.5.1.dist-info}/RECORD +13 -12
- vng_api_common/__init__.py +1 -1
- vng_api_common/authorizations/migrations/0017_alter_applicatie_client_ids_and_more.py +41 -0
- vng_api_common/authorizations/models.py +6 -6
- vng_api_common/contrib/setup_configuration/models.py +10 -2
- vng_api_common/locale/nl/LC_MESSAGES/django.mo +0 -0
- vng_api_common/locale/nl/LC_MESSAGES/django.po +476 -343
- vng_api_common/serializers.py +1 -1
- vng_api_common/views.py +2 -2
- {commonground_api_common-2.4.1.data → commonground_api_common-2.5.1.data}/scripts/generate_schema +0 -0
- {commonground_api_common-2.4.1.dist-info → commonground_api_common-2.5.1.dist-info}/WHEEL +0 -0
- {commonground_api_common-2.4.1.dist-info → commonground_api_common-2.5.1.dist-info}/top_level.txt +0 -0
vng_api_common/serializers.py
CHANGED
@@ -91,7 +91,7 @@ class ValidatieFoutSerializer(FoutSerializer):
|
|
91
91
|
|
92
92
|
|
93
93
|
def add_choice_values_help_text(
|
94
|
-
choices: Union[models.Choices, List[Tuple[str, str]]]
|
94
|
+
choices: Union[models.Choices, List[Tuple[str, str]]],
|
95
95
|
) -> str:
|
96
96
|
is_dj_choices = inspect.isclass(choices) and issubclass(choices, models.Choices)
|
97
97
|
|
vng_api_common/views.py
CHANGED
@@ -184,12 +184,12 @@ def _test_nrc_config(check_autorisaties_subscription=True) -> list:
|
|
184
184
|
nrc_client: Optional[Client] = NotificationsConfig.get_client()
|
185
185
|
|
186
186
|
if not nrc_client:
|
187
|
-
return [(
|
187
|
+
return [(_("NRC"), _("Missing"), False)]
|
188
188
|
|
189
189
|
has_nrc_auth = nrc_client.auth is not None if nrc_client else False
|
190
190
|
|
191
191
|
if not nrc_config.notifications_api_service:
|
192
|
-
checks = [(
|
192
|
+
checks = [(_("NRC"), _("Missing"), False)]
|
193
193
|
return checks
|
194
194
|
|
195
195
|
checks = [
|
{commonground_api_common-2.4.1.data → commonground_api_common-2.5.1.data}/scripts/generate_schema
RENAMED
File without changes
|
File without changes
|
{commonground_api_common-2.4.1.dist-info → commonground_api_common-2.5.1.dist-info}/top_level.txt
RENAMED
File without changes
|