apis-acdhch-default-settings 2.1.0__py3-none-any.whl → 2.2.0__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.
@@ -50,6 +50,7 @@ INSTALLED_APPS = [
50
50
  "rest_framework",
51
51
  "apis_ontology",
52
52
  "apis_acdhch_default_settings",
53
+ "apis_core.relations",
53
54
  "apis_core.apis_entities",
54
55
  "apis_core.apis_metainfo",
55
56
  "apis_core.apis_vocabularies",
@@ -86,6 +87,7 @@ CSP_DEFAULT_SRC = (
86
87
  "unpkg.com",
87
88
  "*.openstreetmap.org",
88
89
  )
90
+ CSP_IMG_SRC = ["'self'", "*.acdh.oeaw.ac.at", "data:"]
89
91
 
90
92
  # django-crispy-forms settings
91
93
  # https://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs
@@ -177,7 +179,7 @@ MEDIA_URL = "/media/"
177
179
 
178
180
  # django-tables2 setting
179
181
  # https://django-tables2.readthedocs.io/en/latest/pages/custom-rendering.html#available-templates
180
- DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap5.html"
182
+ DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap5-responsive.html"
181
183
 
182
184
  # apis-core-rdf settings
183
185
  if os.environ.get("PUBLIC_URL"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: apis-acdhch-default-settings
3
- Version: 2.1.0
3
+ Version: 2.2.0
4
4
  Summary: Default settings for APIS instances at the ACDH-CH
5
5
  License: MIT
6
6
  Author: Birger Schacht
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
13
  Classifier: Programming Language :: Python :: 3.13
14
14
  Requires-Dist: dj-database-url (>=2.0.0,<3.0.0)
15
- Requires-Dist: django-allow-cidr (>=0.6.0,<0.7.0)
15
+ Requires-Dist: django-allow-cidr (>=0.6,<0.8)
16
16
  Requires-Dist: django-auth-ldap (>=4.6.0,<5.0.0)
17
17
  Requires-Dist: django-csp (>=3.7,<4.0)
18
18
  Requires-Dist: django-removals (>=1.0.5,<2.0.0)
@@ -24,7 +24,7 @@ Requires-Dist: opentelemetry-instrumentation-logging
24
24
  Requires-Dist: opentelemetry-instrumentation-psycopg2
25
25
  Requires-Dist: opentelemetry-instrumentation-wsgi
26
26
  Requires-Dist: sentry-sdk (>=1.26.0,<2.0.0)
27
- Requires-Dist: whitenoise (>=5.2.0,<6.0.0)
27
+ Requires-Dist: whitenoise (>=5.2,<7.0)
28
28
  Description-Content-Type: text/markdown
29
29
 
30
30
  # apis_acdhch_default_settings
@@ -1,11 +1,11 @@
1
1
  apis_acdhch_default_settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  apis_acdhch_default_settings/ldapauth.py,sha256=P1NDgWG2Pp4JzqoETq3VDC3DtECoEIXWBA3Lzn6CUIA,423
3
- apis_acdhch_default_settings/settings.py,sha256=KJI9aedJO7vllWFzvhwv_aiLIv2t8OPWzcyjAkbF8Vg,9135
3
+ apis_acdhch_default_settings/settings.py,sha256=aw8xt5-6Iwb7prbuA9vDrbaA9XKSINQdM6KWF8tog1Y,9228
4
4
  apis_acdhch_default_settings/templates/base.html,sha256=c3QhbTzJLzCii-Ck5x0wftHx_Y0aFhPfJUhUVknz_Ks,217
5
5
  apis_acdhch_default_settings/templates/imprint.html,sha256=juOqq6yzT9FMhjPjhbofDPZxRNO2fhOLlS478reFjE0,254
6
6
  apis_acdhch_default_settings/urls.py,sha256=QOkc8QD0rEj0ftcJWJqVyO9qFAgVXrj1rl9R9jARSqc,1017
7
7
  apis_acdhch_default_settings/views.py,sha256=4fwNnkjH-X4T2zojGTFndxvznOl_3JavHbmpDLD6wOA,1022
8
- apis_acdhch_default_settings-2.1.0.dist-info/LICENSE,sha256=cMJgiPvvZVbZQcWrf-s1Es1W2b8sxKA0C7HlD4n8_Oo,1146
9
- apis_acdhch_default_settings-2.1.0.dist-info/METADATA,sha256=G2GHZ0Hal7fv9ovZsh6u05MPC5703cZ1Op0clz0PgEs,1340
10
- apis_acdhch_default_settings-2.1.0.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
11
- apis_acdhch_default_settings-2.1.0.dist-info/RECORD,,
8
+ apis_acdhch_default_settings-2.2.0.dist-info/LICENSE,sha256=cMJgiPvvZVbZQcWrf-s1Es1W2b8sxKA0C7HlD4n8_Oo,1146
9
+ apis_acdhch_default_settings-2.2.0.dist-info/METADATA,sha256=Cyl3E9e9qnJrOUDw-L5CPdgZUI4hztyei5E8cfPmFTs,1332
10
+ apis_acdhch_default_settings-2.2.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
11
+ apis_acdhch_default_settings-2.2.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.0.1
2
+ Generator: poetry-core 2.1.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any