apis-acdhch-default-settings 2.16.0__tar.gz → 2.17.0__tar.gz

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.
Files changed (23) hide show
  1. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/.github/workflows/publish.yml +2 -2
  2. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/CHANGELOG.md +8 -0
  3. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/PKG-INFO +2 -1
  4. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/settings.py +13 -0
  5. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/pyproject.toml +4 -2
  6. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/.github/dependabot.yml +0 -0
  7. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/.github/workflows/add-to-project.yml +0 -0
  8. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/.github/workflows/linters.yml +0 -0
  9. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/.github/workflows/release-please.yml +0 -0
  10. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/.gitignore +0 -0
  11. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/LICENSE +0 -0
  12. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/README.md +0 -0
  13. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/__init__.py +0 -0
  14. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/ldapauth.py +0 -0
  15. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.mo +0 -0
  16. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.po +0 -0
  17. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/querysets.py +0 -0
  18. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/templates/base.html +0 -0
  19. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/templates/e53_place_from_typesense_autocomplete_result.html +0 -0
  20. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/templates/imprint.html +0 -0
  21. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/templates/partials/footer.html +0 -0
  22. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/urls.py +0 -0
  23. {apis_acdhch_default_settings-2.16.0 → apis_acdhch_default_settings-2.17.0}/apis_acdhch_default_settings/views.py +0 -0
@@ -31,7 +31,7 @@ jobs:
31
31
  - name: Build a binary wheel and a source tarball
32
32
  run: python3 -m build
33
33
  - name: Store the distribution packages
34
- uses: actions/upload-artifact@v5
34
+ uses: actions/upload-artifact@v6
35
35
  with:
36
36
  name: python-package-distributions
37
37
  path: dist/
@@ -48,7 +48,7 @@ jobs:
48
48
 
49
49
  steps:
50
50
  - name: Download all the dists
51
- uses: actions/download-artifact@v6
51
+ uses: actions/download-artifact@v7
52
52
  with:
53
53
  name: python-package-distributions
54
54
  path: dist/
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.17.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.16.0...v2.17.0) (2026-02-04)
4
+
5
+
6
+ ### Features
7
+
8
+ * **pyproject:** add gunicorn as dependency ([0563593](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/0563593a990e863420da199abe4ecffd2d0c3d60)), closes [#271](https://github.com/acdh-oeaw/apis-acdhch-default-settings/issues/271)
9
+ * **settings:** set the DRF default renderer classes ([d9a022c](https://github.com/acdh-oeaw/apis-acdhch-default-settings/commit/d9a022c1b539aeae72d1b87f551a9408459134a1))
10
+
3
11
  ## [2.16.0](https://github.com/acdh-oeaw/apis-acdhch-default-settings/compare/v2.15.0...v2.16.0) (2025-12-05)
4
12
 
5
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apis-acdhch-default-settings
3
- Version: 2.16.0
3
+ Version: 2.17.0
4
4
  Summary: Default settings for APIS instances at the ACDH-CH
5
5
  Project-URL: source, https://github.com/acdh-oeaw/apis-acdhch-default-settings
6
6
  Project-URL: changelog, https://github.com/acdh-oeaw/apis-acdhch-default-settings/blob/main/CHANGELOG.md
@@ -18,6 +18,7 @@ Requires-Dist: django-auth-ldap<6.0,>=4.6.0
18
18
  Requires-Dist: django-csp<4.0,>=3.7
19
19
  Requires-Dist: django-removals<=2.0,>=1.0.5
20
20
  Requires-Dist: django>=5
21
+ Requires-Dist: gunicorn<25,>24
21
22
  Requires-Dist: opentelemetry-distro
22
23
  Requires-Dist: opentelemetry-exporter-otlp
23
24
  Requires-Dist: opentelemetry-instrumentation-asgi
@@ -262,3 +262,16 @@ LOGIN_URL = "/apis/accounts/login"
262
262
  # apis-core does not provide a view on `/accounts/profile` which is the
263
263
  # default LOGIN_REDIRECT_URL, so we set it to `/`.
264
264
  LOGIN_REDIRECT_URL = "/"
265
+
266
+ # Set the default renderers for the Django Rest Framework
267
+ # https://www.django-rest-framework.org/api-guide/renderers/
268
+ # We are providing the default views using the builtin
269
+ # JSONRenderer and BrowsableAPIRenderer.
270
+ # In addition, we provide Cidoc TTL and Cidoc XML representation
271
+ # using the renderers shipped in apis_core.
272
+ REST_FRAMEWORK["DEFAULT_RENDERER_CLASSES"] = [ # noqa: F405
273
+ "rest_framework.renderers.JSONRenderer",
274
+ "rest_framework.renderers.BrowsableAPIRenderer",
275
+ "apis_core.generic.renderers.CidocTTLRenderer",
276
+ "apis_core.generic.renderers.CidocXMLRenderer",
277
+ ]
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "apis-acdhch-default-settings"
3
- version = "2.16.0"
3
+ version = "2.17.0"
4
4
  description = "Default settings for APIS instances at the ACDH-CH"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -25,6 +25,7 @@ dependencies = [
25
25
  "requests>=2",
26
26
  "django-auditlog>=3.1.2",
27
27
  "apis-acdhch-django-auditlog>=0.2.1",
28
+ "gunicorn>24,<25",
28
29
  ]
29
30
  [project.urls]
30
31
  source = "https://github.com/acdh-oeaw/apis-acdhch-default-settings"
@@ -65,7 +66,8 @@ DEP002 = [
65
66
  "opentelemetry-exporter-otlp",
66
67
  "opentelemetry-distro",
67
68
  "django-auditlog",
68
- "apis-acdhch-django-auditlog"
69
+ "apis-acdhch-django-auditlog",
70
+ "gunicorn"
69
71
  ]
70
72
 
71
73
  [tool.deptry.package_module_name_map]