apis-acdhch-default-settings 2.0.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.
- apis_acdhch_default_settings/settings.py +6 -2
- {apis_acdhch_default_settings-2.0.0.dist-info → apis_acdhch_default_settings-2.2.0.dist-info}/METADATA +3 -3
- {apis_acdhch_default_settings-2.0.0.dist-info → apis_acdhch_default_settings-2.2.0.dist-info}/RECORD +5 -5
- {apis_acdhch_default_settings-2.0.0.dist-info → apis_acdhch_default_settings-2.2.0.dist-info}/WHEEL +1 -1
- {apis_acdhch_default_settings-2.0.0.dist-info → apis_acdhch_default_settings-2.2.0.dist-info}/LICENSE +0 -0
|
@@ -44,11 +44,13 @@ INSTALLED_APPS = [
|
|
|
44
44
|
"django_removals",
|
|
45
45
|
"crispy_forms",
|
|
46
46
|
"crispy_bootstrap4",
|
|
47
|
+
"crispy_bootstrap5",
|
|
47
48
|
"django_filters",
|
|
48
49
|
"django_tables2",
|
|
49
50
|
"rest_framework",
|
|
50
51
|
"apis_ontology",
|
|
51
52
|
"apis_acdhch_default_settings",
|
|
53
|
+
"apis_core.relations",
|
|
52
54
|
"apis_core.apis_entities",
|
|
53
55
|
"apis_core.apis_metainfo",
|
|
54
56
|
"apis_core.apis_vocabularies",
|
|
@@ -85,10 +87,12 @@ CSP_DEFAULT_SRC = (
|
|
|
85
87
|
"unpkg.com",
|
|
86
88
|
"*.openstreetmap.org",
|
|
87
89
|
)
|
|
90
|
+
CSP_IMG_SRC = ["'self'", "*.acdh.oeaw.ac.at", "data:"]
|
|
88
91
|
|
|
89
92
|
# django-crispy-forms settings
|
|
90
93
|
# https://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs
|
|
91
|
-
CRISPY_TEMPLATE_PACK = "
|
|
94
|
+
CRISPY_TEMPLATE_PACK = "bootstrap5"
|
|
95
|
+
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
|
|
92
96
|
|
|
93
97
|
# django-rest-framework settings
|
|
94
98
|
# https://www.django-rest-framework.org/api-guide/settings/
|
|
@@ -175,7 +179,7 @@ MEDIA_URL = "/media/"
|
|
|
175
179
|
|
|
176
180
|
# django-tables2 setting
|
|
177
181
|
# https://django-tables2.readthedocs.io/en/latest/pages/custom-rendering.html#available-templates
|
|
178
|
-
DJANGO_TABLES2_TEMPLATE = "django_tables2/
|
|
182
|
+
DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap5-responsive.html"
|
|
179
183
|
|
|
180
184
|
# apis-core-rdf settings
|
|
181
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.
|
|
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
|
|
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
|
|
27
|
+
Requires-Dist: whitenoise (>=5.2,<7.0)
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
29
29
|
|
|
30
30
|
# apis_acdhch_default_settings
|
{apis_acdhch_default_settings-2.0.0.dist-info → apis_acdhch_default_settings-2.2.0.dist-info}/RECORD
RENAMED
|
@@ -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=
|
|
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.
|
|
9
|
-
apis_acdhch_default_settings-2.
|
|
10
|
-
apis_acdhch_default_settings-2.
|
|
11
|
-
apis_acdhch_default_settings-2.
|
|
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,,
|
|
File without changes
|