apis-acdhch-default-settings 2.9.0__py3-none-any.whl → 2.11.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/querysets.py +1 -0
- apis_acdhch_default_settings/settings.py +2 -1
- apis_acdhch_default_settings/templates/e53_place_from_typesense_autocomplete_result.html +13 -0
- apis_acdhch_default_settings/urls.py +3 -0
- {apis_acdhch_default_settings-2.9.0.dist-info → apis_acdhch_default_settings-2.11.0.dist-info}/METADATA +4 -2
- apis_acdhch_default_settings-2.11.0.dist-info/RECORD +15 -0
- apis_acdhch_default_settings-2.9.0.dist-info/RECORD +0 -14
- {apis_acdhch_default_settings-2.9.0.dist-info → apis_acdhch_default_settings-2.11.0.dist-info}/WHEEL +0 -0
- {apis_acdhch_default_settings-2.9.0.dist-info → apis_acdhch_default_settings-2.11.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -14,6 +14,7 @@ class E53_PlaceExternalAutocomplete(ExternalAutocomplete):
|
|
|
14
14
|
"prosnet-wikidata-place-index",
|
|
15
15
|
"prosnet-geonames-place-index",
|
|
16
16
|
],
|
|
17
|
+
template="e53_place_from_typesense_autocomplete_result.html",
|
|
17
18
|
token=os.getenv("TYPESENSE_TOKEN", None),
|
|
18
19
|
server=os.getenv("TYPESENSE_SERVER", None),
|
|
19
20
|
),
|
|
@@ -22,7 +22,6 @@ INSTALLED_APPS = [
|
|
|
22
22
|
"django.contrib.staticfiles",
|
|
23
23
|
"django_removals",
|
|
24
24
|
"crispy_forms",
|
|
25
|
-
"crispy_bootstrap4",
|
|
26
25
|
"crispy_bootstrap5",
|
|
27
26
|
"django_filters",
|
|
28
27
|
"django_tables2",
|
|
@@ -38,6 +37,8 @@ INSTALLED_APPS = [
|
|
|
38
37
|
"apis_core.core",
|
|
39
38
|
"rest_framework.authtoken",
|
|
40
39
|
"drf_spectacular",
|
|
40
|
+
"auditlog",
|
|
41
|
+
"apis_acdhch_django_auditlog",
|
|
41
42
|
]
|
|
42
43
|
|
|
43
44
|
# https://docs.djangoproject.com/en/stable/ref/settings/#std-setting-USE_X_FORWARDED_HOST
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{% if result.document.coordinates %}
|
|
2
|
+
<a data-latitude="{{ result.document.coordinates.0|floatformat:"4u" }}"
|
|
3
|
+
data-longitude="{{ result.document.coordinates.1|floatformat:"4u" }}"
|
|
4
|
+
title="Map"
|
|
5
|
+
onmouseenter="showMap(this);"
|
|
6
|
+
onmouseout="delMap(this);"><span class="material-symbols-outlined material-symbols-align">location_on</span></a>
|
|
7
|
+
{% endif %}
|
|
8
|
+
{% if result.highlight.label.snippet %}
|
|
9
|
+
{{ result.highlight.label.snippet|safe }}
|
|
10
|
+
{% else %}
|
|
11
|
+
{{ result.document.label }}
|
|
12
|
+
{% endif %}
|
|
13
|
+
{% if result.document.id %}{{ result.document.id|urlize }}{% endif %}
|
|
@@ -24,3 +24,6 @@ if "apis_bibsonomy" in settings.INSTALLED_APPS:
|
|
|
24
24
|
|
|
25
25
|
urlpatterns.append(path("", TemplateView.as_view(template_name="base.html")))
|
|
26
26
|
urlpatterns.append(path("imprint", Imprint.as_view(), name="imprint"))
|
|
27
|
+
urlpatterns += [
|
|
28
|
+
path("", include("apis_acdhch_django_auditlog.urls")),
|
|
29
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apis-acdhch-default-settings
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.11.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
|
|
@@ -9,9 +9,11 @@ Author-email: Birger Schacht <birger.schacht@oeaw.ac.at>
|
|
|
9
9
|
License-Expression: MIT
|
|
10
10
|
License-File: LICENSE
|
|
11
11
|
Requires-Python: >=3.11
|
|
12
|
+
Requires-Dist: apis-acdhch-django-auditlog>=0.2.1
|
|
12
13
|
Requires-Dist: apis-core-rdf>=0.40.0
|
|
13
|
-
Requires-Dist: dj-database-url<
|
|
14
|
+
Requires-Dist: dj-database-url<4.0,>=2.0.0
|
|
14
15
|
Requires-Dist: django-allow-cidr<0.8,>=0.6
|
|
16
|
+
Requires-Dist: django-auditlog>=3.1.2
|
|
15
17
|
Requires-Dist: django-auth-ldap<6.0,>=4.6.0
|
|
16
18
|
Requires-Dist: django-csp<4.0,>=3.7
|
|
17
19
|
Requires-Dist: django-removals<=2.0,>=1.0.5
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
apis_acdhch_default_settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
apis_acdhch_default_settings/ldapauth.py,sha256=P1NDgWG2Pp4JzqoETq3VDC3DtECoEIXWBA3Lzn6CUIA,423
|
|
3
|
+
apis_acdhch_default_settings/querysets.py,sha256=9Z3CFp1e55FFvuT05phh6vvchhII_mk0tF_-47vqAsM,1277
|
|
4
|
+
apis_acdhch_default_settings/settings.py,sha256=HwI88sIfSZn2cmU2l4_zxyqz371vzU-5WvT7UhUZhlc,8867
|
|
5
|
+
apis_acdhch_default_settings/urls.py,sha256=Az8dKmYksRsNNTunNxZGh6ODwWd9qksq1E9JQRPe1dc,1081
|
|
6
|
+
apis_acdhch_default_settings/views.py,sha256=Xffr0DkaIr81BTj0xlqUMd38C8XGYubL9RJkBxrcAyE,1044
|
|
7
|
+
apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.mo,sha256=ca6G5CeEdkrD7cVblXxxJNNiSJcP2Hq1AbMnG7usF18,422
|
|
8
|
+
apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.po,sha256=MkpoGg0Mts7ThF4xJrxzVkOJxBhVGJFi3Wl7yQhZ8rw,714
|
|
9
|
+
apis_acdhch_default_settings/templates/base.html,sha256=CA1AIklsCajWcng36Ip9J1ZSQfzXjrv9DIm1nk-k3EU,342
|
|
10
|
+
apis_acdhch_default_settings/templates/e53_place_from_typesense_autocomplete_result.html,sha256=Tpkes1Q5MDn3A4vHznA2YBG5AJAVA4A4cmxvr0P60jE,589
|
|
11
|
+
apis_acdhch_default_settings/templates/imprint.html,sha256=8P6TUA0bkhXTQAhCiFZONe_xJhPt8YvNTzNmAWNWZ0k,270
|
|
12
|
+
apis_acdhch_default_settings-2.11.0.dist-info/METADATA,sha256=ZMzrAgWOMee7JfkGyXqawmsy7sEhcC5jfsvtrmL4LnI,1482
|
|
13
|
+
apis_acdhch_default_settings-2.11.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
14
|
+
apis_acdhch_default_settings-2.11.0.dist-info/licenses/LICENSE,sha256=cMJgiPvvZVbZQcWrf-s1Es1W2b8sxKA0C7HlD4n8_Oo,1146
|
|
15
|
+
apis_acdhch_default_settings-2.11.0.dist-info/RECORD,,
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
apis_acdhch_default_settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
apis_acdhch_default_settings/ldapauth.py,sha256=P1NDgWG2Pp4JzqoETq3VDC3DtECoEIXWBA3Lzn6CUIA,423
|
|
3
|
-
apis_acdhch_default_settings/querysets.py,sha256=3sqDRupDrDIxE2Oyf-7dC6BfU6p8pROzjN5KZPS3AQE,1203
|
|
4
|
-
apis_acdhch_default_settings/settings.py,sha256=CW3AM2JGFuR6bp4brp0c683hCWAz1aV7lVhyyvfO-sU,8841
|
|
5
|
-
apis_acdhch_default_settings/urls.py,sha256=VG5xY3GabwRc4DIPwTyvooN4UpUSsuzsI4-m8UHhVRE,1003
|
|
6
|
-
apis_acdhch_default_settings/views.py,sha256=Xffr0DkaIr81BTj0xlqUMd38C8XGYubL9RJkBxrcAyE,1044
|
|
7
|
-
apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.mo,sha256=ca6G5CeEdkrD7cVblXxxJNNiSJcP2Hq1AbMnG7usF18,422
|
|
8
|
-
apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.po,sha256=MkpoGg0Mts7ThF4xJrxzVkOJxBhVGJFi3Wl7yQhZ8rw,714
|
|
9
|
-
apis_acdhch_default_settings/templates/base.html,sha256=CA1AIklsCajWcng36Ip9J1ZSQfzXjrv9DIm1nk-k3EU,342
|
|
10
|
-
apis_acdhch_default_settings/templates/imprint.html,sha256=8P6TUA0bkhXTQAhCiFZONe_xJhPt8YvNTzNmAWNWZ0k,270
|
|
11
|
-
apis_acdhch_default_settings-2.9.0.dist-info/METADATA,sha256=kZb8Mxz9rbk8z7Va2zd3-zRX4JzUjP7B4m-KDi_2x7I,1393
|
|
12
|
-
apis_acdhch_default_settings-2.9.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
13
|
-
apis_acdhch_default_settings-2.9.0.dist-info/licenses/LICENSE,sha256=cMJgiPvvZVbZQcWrf-s1Es1W2b8sxKA0C7HlD4n8_Oo,1146
|
|
14
|
-
apis_acdhch_default_settings-2.9.0.dist-info/RECORD,,
|
{apis_acdhch_default_settings-2.9.0.dist-info → apis_acdhch_default_settings-2.11.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|