apis-acdhch-default-settings 2.12.2__py3-none-any.whl → 2.13.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.
@@ -7,6 +7,17 @@ from apis_core.utils.autocomplete import (
7
7
  )
8
8
 
9
9
 
10
+ class E74_GroupExternalAutocomplete(ExternalAutocomplete):
11
+ adapters = [
12
+ LobidAutocompleteAdapter(
13
+ params={
14
+ "filter": "type:CorporateBody",
15
+ "format": "json:preferredName,geographicAreaCode,dateOfEstablishment,broaderTermInstantial",
16
+ }
17
+ ),
18
+ ]
19
+
20
+
10
21
  class E53_PlaceExternalAutocomplete(ExternalAutocomplete):
11
22
  adapters = [
12
23
  TypeSenseAutocompleteAdapter(
@@ -244,6 +244,7 @@ if debug := os.environ.get("DJANGO_DEBUG", False):
244
244
  # information to set the repository url in APIS
245
245
  if os.environ.get("GITLAB_ENVIRONMENT_URL"):
246
246
  GIT_REPOSITORY_URL = os.environ.get("GITLAB_ENVIRONMENT_URL")
247
+ GIT_REPOSITORY_URL = GIT_REPOSITORY_URL.replace("git://", "https://")
247
248
 
248
249
 
249
250
  # https://docs.djangoproject.com/en/stable/ref/settings/#login-url
@@ -9,9 +9,9 @@
9
9
  src="https://fundament.acdh.oeaw.ac.at/common-assets/images/acdh_logo.svg" />
10
10
  </a>
11
11
  {% endblock footer-center %}
12
- {% block imprint %}
12
+ {% block footer-right %}
13
13
  {% url "imprint" as imprint_url %}
14
14
  {% if imprint_url %}
15
15
  <a href="{{ imprint_url }}">{% translate "Imprint" %}</a>
16
16
  {% endif %}
17
- {% endblock imprint %}
17
+ {% endblock footer-right %}
@@ -1,4 +1,4 @@
1
- from django.conf import settings
1
+ from django.apps import apps
2
2
  from django.contrib.staticfiles.urls import staticfiles_urlpatterns
3
3
  from django.urls import include
4
4
  from django.contrib import admin
@@ -17,7 +17,7 @@ urlpatterns = [
17
17
  ]
18
18
  urlpatterns += staticfiles_urlpatterns()
19
19
 
20
- if "apis_bibsonomy" in settings.INSTALLED_APPS:
20
+ if apps.is_installed("apis_bibsonomy"):
21
21
  urlpatterns.append(
22
22
  path("bibsonomy/", include("apis_bibsonomy.urls", namespace="bibsonomy"))
23
23
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apis-acdhch-default-settings
3
- Version: 2.12.2
3
+ Version: 2.13.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
@@ -1,16 +1,16 @@
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/querysets.py,sha256=9Z3CFp1e55FFvuT05phh6vvchhII_mk0tF_-47vqAsM,1277
4
- apis_acdhch_default_settings/settings.py,sha256=urYBRJkL0SfRoOdNr3FzRcbDr0lOVlWQy4PedCfB0Dc,8867
5
- apis_acdhch_default_settings/urls.py,sha256=Az8dKmYksRsNNTunNxZGh6ODwWd9qksq1E9JQRPe1dc,1081
3
+ apis_acdhch_default_settings/querysets.py,sha256=zu1NLUSV48vITX-2QuPR59zMBPe-lvQwvLl6yTIyFhE,1598
4
+ apis_acdhch_default_settings/settings.py,sha256=vWfQyf_H2_k22iR1C9gfkuHOaw9kDSF-RYU5G2SGdE8,8941
5
+ apis_acdhch_default_settings/urls.py,sha256=WZNKn2PhxPlDlQSitK1XRgqxVK8UB9vBfLGr-wC8Atg,1069
6
6
  apis_acdhch_default_settings/views.py,sha256=Xffr0DkaIr81BTj0xlqUMd38C8XGYubL9RJkBxrcAyE,1044
7
7
  apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.mo,sha256=ca6G5CeEdkrD7cVblXxxJNNiSJcP2Hq1AbMnG7usF18,422
8
8
  apis_acdhch_default_settings/locale/de/LC_MESSAGES/django.po,sha256=MkpoGg0Mts7ThF4xJrxzVkOJxBhVGJFi3Wl7yQhZ8rw,714
9
9
  apis_acdhch_default_settings/templates/base.html,sha256=GMvCi3Vci-GhM31ILNN3zQjS3KTnhd8huwus9koFlTE,153
10
10
  apis_acdhch_default_settings/templates/e53_place_from_typesense_autocomplete_result.html,sha256=Tpkes1Q5MDn3A4vHznA2YBG5AJAVA4A4cmxvr0P60jE,589
11
11
  apis_acdhch_default_settings/templates/imprint.html,sha256=8P6TUA0bkhXTQAhCiFZONe_xJhPt8YvNTzNmAWNWZ0k,270
12
- apis_acdhch_default_settings/templates/partials/footer.html,sha256=4rjpKE0NXM5Twe-QEcsh8HR4wQzzWmCuPC7tn_MdxAU,638
13
- apis_acdhch_default_settings-2.12.2.dist-info/METADATA,sha256=8Y0pEWEHGimQWJWPILU5DUm7BbPvNvLpAq47oys4Iao,1482
14
- apis_acdhch_default_settings-2.12.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- apis_acdhch_default_settings-2.12.2.dist-info/licenses/LICENSE,sha256=cMJgiPvvZVbZQcWrf-s1Es1W2b8sxKA0C7HlD4n8_Oo,1146
16
- apis_acdhch_default_settings-2.12.2.dist-info/RECORD,,
12
+ apis_acdhch_default_settings/templates/partials/footer.html,sha256=CgKfS8KA8RAEeccpoinrpF8Zub3IWhOmPl9gv39uKSc,648
13
+ apis_acdhch_default_settings-2.13.0.dist-info/METADATA,sha256=IzoONvFckIy0uUdZsjKtEJeatrX0I9Q4SolxlUICLBM,1482
14
+ apis_acdhch_default_settings-2.13.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
+ apis_acdhch_default_settings-2.13.0.dist-info/licenses/LICENSE,sha256=cMJgiPvvZVbZQcWrf-s1Es1W2b8sxKA0C7HlD4n8_Oo,1146
16
+ apis_acdhch_default_settings-2.13.0.dist-info/RECORD,,