commonground-api-common 2.5.1__py3-none-any.whl → 2.5.3__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.1.dist-info → commonground_api_common-2.5.3.dist-info}/METADATA +1 -1
- {commonground_api_common-2.5.1.dist-info → commonground_api_common-2.5.3.dist-info}/RECORD +12 -12
- {commonground_api_common-2.5.1.dist-info → commonground_api_common-2.5.3.dist-info}/WHEEL +1 -1
- vng_api_common/__init__.py +1 -1
- vng_api_common/contrib/setup_configuration/models.py +1 -1
- vng_api_common/contrib/setup_configuration/steps.py +6 -1
- vng_api_common/extensions/hyperlink.py +2 -1
- vng_api_common/locale/nl/LC_MESSAGES/django.mo +0 -0
- vng_api_common/locale/nl/LC_MESSAGES/django.po +15 -5
- vng_api_common/pagination.py +8 -0
- {commonground_api_common-2.5.1.data → commonground_api_common-2.5.3.data}/scripts/generate_schema +0 -0
- {commonground_api_common-2.5.1.dist-info → commonground_api_common-2.5.3.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.3.data/scripts/generate_schema,sha256=OpKgzlFc_uzA3TVW_vHSYXAD_feLaCdTEnkWjIcxVzA,280
|
2
|
+
vng_api_common/__init__.py,sha256=9As6EseYF3Vi8VWUZnZuuTi-kW5fYIv8u6cHK0RidGo,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
|
@@ -21,7 +21,7 @@ vng_api_common/middleware.py,sha256=2DRw0hPpvUMqwoH1Ze8S7tDB16lmj4Bnd6vN5ijkGM8,
|
|
21
21
|
vng_api_common/mocks.py,sha256=0sELLs-uy2ndu29m5P6FN_p1ehNhYv7IoRayYPs379Y,6200
|
22
22
|
vng_api_common/models.py,sha256=3WgpCWQpkCOrMCtqp7EbnP681II43Sg_cch8ZOm4EcU,1707
|
23
23
|
vng_api_common/oas.py,sha256=ATqqNM7zkDMoK3E-cxNh_c65n6YCrP96KxCFYfkEVK0,2523
|
24
|
-
vng_api_common/pagination.py,sha256=
|
24
|
+
vng_api_common/pagination.py,sha256=H-GPyDhM3KnxXk44__JLipvTghXQNqr3Rp6XFrkP32w,528
|
25
25
|
vng_api_common/permissions.py,sha256=ayDxk9Wt8j0yO57FhZ8XaRkPET4lAqd8SSw3m4o3EGs,7562
|
26
26
|
vng_api_common/polymorphism.py,sha256=N-x39pG2unD4N0ZbxFvuhE8ibPaJ0eKeqfvAJW3NnEU,6623
|
27
27
|
vng_api_common/routers.py,sha256=hEnhBulkgMM-7W_lYaykKTgTBj3-avl7DGsR9P7BbTU,1897
|
@@ -109,19 +109,19 @@ vng_api_common/conf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
109
109
|
vng_api_common/conf/api.py,sha256=Lx3Kk7S7mKxeaUr0dm6jbKrEh4WI2gye4i7QxN2x69E,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
|
-
vng_api_common/contrib/setup_configuration/models.py,sha256=
|
113
|
-
vng_api_common/contrib/setup_configuration/steps.py,sha256=
|
112
|
+
vng_api_common/contrib/setup_configuration/models.py,sha256=1-G0hXeRe-x6GYtsAaQeMGXq0-cwU5LMb8KTQWj-pQk,1201
|
113
|
+
vng_api_common/contrib/setup_configuration/steps.py,sha256=Z1wqsI4brmTvbx1Josr7M_UZcgKoCnYJCPDe2XRlcdw,2035
|
114
114
|
vng_api_common/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
115
|
vng_api_common/db/operations.py,sha256=3vj9zD4EntMSmYsNGN1pRDjAcVM68MESDdoAk9wl0U0,3333
|
116
116
|
vng_api_common/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
117
117
|
vng_api_common/extensions/file.py,sha256=tvOiSYbu0CrVKefgO_nOj1af1L0JjShec3VkR-i-IWE,950
|
118
118
|
vng_api_common/extensions/gegevensgroep.py,sha256=mfwXpQ8Zq8Tevv_bt28OZqv8a9u6L3yJEKQqXerKzBI,518
|
119
119
|
vng_api_common/extensions/geojson.py,sha256=mVqry8F7RQm0YIK3m5scazePB7KprffQy02RNA1FOIE,9217
|
120
|
-
vng_api_common/extensions/hyperlink.py,sha256=
|
120
|
+
vng_api_common/extensions/hyperlink.py,sha256=wPjivZP4tU1mZc2wH7sX36SEAGejeog-CONUySPaAEQ,1382
|
121
121
|
vng_api_common/extensions/polymorphic.py,sha256=Hjzn1VAx3E0Eafb7NctkNQuDYJeh6ln0KHgVNRjHG1s,2768
|
122
122
|
vng_api_common/extensions/query.py,sha256=mXxv2aiyP-kHmXUrszHqxEKhAedUugwVJZljQ5nPLcY,585
|
123
|
-
vng_api_common/locale/nl/LC_MESSAGES/django.mo,sha256=
|
124
|
-
vng_api_common/locale/nl/LC_MESSAGES/django.po,sha256=
|
123
|
+
vng_api_common/locale/nl/LC_MESSAGES/django.mo,sha256=9Kp07FbCJQdF77i26PpjV8-vuKOmddeubPsoExnhVYw,5509
|
124
|
+
vng_api_common/locale/nl/LC_MESSAGES/django.po,sha256=81RUc2JgnHsTlZ9W09QuLXMSqpj5PXRx1MfpKWHbVsk,20777
|
125
125
|
vng_api_common/migrations/0001_initial.py,sha256=frE83rux6uVHK4v-1fsb_1C00TBQQ6koFBA3DoVPHmk,895
|
126
126
|
vng_api_common/migrations/0002_apicredential.py,sha256=AYgkLMizI0g-Ogth8j_FVJHTDDI3bWzQgZzuQeABzaU,1083
|
127
127
|
vng_api_common/migrations/0003_auto_20190417_1145.py,sha256=0ABqDggAdjmZxhSsLrMb2ZBwTcR1BOWo1Tn8StfiG0A,1001
|
@@ -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.3.dist-info/METADATA,sha256=Sg3d_Z5Z2g5eL2LcvYqPFQ1QrlhFSUTOy1LzzDZLUEc,6988
|
187
|
+
commonground_api_common-2.5.3.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
188
|
+
commonground_api_common-2.5.3.dist-info/top_level.txt,sha256=vPismc83zPzWXTmlNCCwfDlFV9iygJYxNJW5iDjKTgw,15
|
189
|
+
commonground_api_common-2.5.3.dist-info/RECORD,,
|
vng_api_common/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "2.5.
|
1
|
+
__version__ = "2.5.3"
|
@@ -26,7 +26,12 @@ class JWTSecretsConfigurationStep(BaseConfigurationStep[JWTSecretsConfigurationM
|
|
26
26
|
|
27
27
|
class ApplicatieConfigurationStep(BaseConfigurationStep[ApplicatieConfigurationModel]):
|
28
28
|
"""
|
29
|
-
Configure
|
29
|
+
Configure Applicaties used for authorization.
|
30
|
+
|
31
|
+
.. note:: The values of ``client_ids`` must match the values of the ``identifier`` field(s)
|
32
|
+
in the ``vng_api_common_credentials`` namespace. To give proper access to an application,
|
33
|
+
you need to load the credentials (``identifier`` and ``secret``)
|
34
|
+
**and** the Applicatie (``client_ids``, ``uuid``, ``label`` and permissions)
|
30
35
|
"""
|
31
36
|
|
32
37
|
verbose_name = "Configuration to create applicaties"
|
@@ -32,6 +32,7 @@ class HyperlinkedIdentityFieldExtension(OpenApiSerializerFieldExtension):
|
|
32
32
|
"minLength": 1,
|
33
33
|
"maxLength": 1000,
|
34
34
|
"description": _(
|
35
|
-
"URL
|
35
|
+
"URL reference to this object. "
|
36
|
+
"This is the unique identification and location of this object."
|
36
37
|
),
|
37
38
|
}
|
Binary file
|
@@ -8,7 +8,7 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: PACKAGE VERSION\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2025-
|
11
|
+
"POT-Creation-Date: 2025-03-18 03:58-0500\n"
|
12
12
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -155,9 +155,9 @@ msgid ""
|
|
155
155
|
"permissions have to be configured. Only enable this if you fully trust the "
|
156
156
|
"consumer."
|
157
157
|
msgstr ""
|
158
|
-
"Indien alle autorisaties gegeven zijn, dan hoeven deze "
|
159
|
-
"
|
160
|
-
"
|
158
|
+
"Indien alle autorisaties gegeven zijn, dan hoeven deze niet individueel "
|
159
|
+
"opgegeven te worden. Gebruik dit alleen als je de consumer helemaal "
|
160
|
+
"vertrouwt."
|
161
161
|
|
162
162
|
#: authorizations/models.py:114
|
163
163
|
msgid "applicatie"
|
@@ -660,9 +660,11 @@ msgstr "Download URL van de binaire inhoud."
|
|
660
660
|
|
661
661
|
#: extensions/hyperlink.py:35
|
662
662
|
msgid ""
|
663
|
+
"URL reference to this object. This is the unique identification and location "
|
664
|
+
"of this object."
|
665
|
+
msgstr ""
|
663
666
|
"URL-referentie naar dit object. Dit is de unieke identificatie en locatie "
|
664
667
|
"van dit object."
|
665
|
-
msgstr ""
|
666
668
|
|
667
669
|
#: fields.py:22
|
668
670
|
msgid "RSIN"
|
@@ -712,6 +714,14 @@ msgstr "Autorisatiegegevens"
|
|
712
714
|
msgid "Notificaties"
|
713
715
|
msgstr ""
|
714
716
|
|
717
|
+
#: pagination.py:7
|
718
|
+
msgid "A page number within the paginated result set."
|
719
|
+
msgstr "Een pagina binnen de gepagineerde set resultaten."
|
720
|
+
|
721
|
+
#: pagination.py:8
|
722
|
+
msgid "Number of results to return per page."
|
723
|
+
msgstr "Het aantal resultaten terug te geven per pagina."
|
724
|
+
|
715
725
|
#: permissions.py:146
|
716
726
|
msgid "The object does not exist in the database"
|
717
727
|
msgstr ""
|
vng_api_common/pagination.py
CHANGED
@@ -1,5 +1,13 @@
|
|
1
|
+
from django.utils.translation import gettext_lazy as _
|
2
|
+
|
1
3
|
from rest_framework.pagination import PageNumberPagination
|
2
4
|
|
5
|
+
# These strings are defined by rest_framework.pagination, but never translated
|
6
|
+
FORCE_TRANSLATION_STRINGS = [
|
7
|
+
_("A page number within the paginated result set."),
|
8
|
+
_("Number of results to return per page."),
|
9
|
+
]
|
10
|
+
|
3
11
|
|
4
12
|
class DynamicPageSizeMixin:
|
5
13
|
page_size = 100
|
{commonground_api_common-2.5.1.data → commonground_api_common-2.5.3.data}/scripts/generate_schema
RENAMED
File without changes
|
{commonground_api_common-2.5.1.dist-info → commonground_api_common-2.5.3.dist-info}/top_level.txt
RENAMED
File without changes
|