apis-acdhch-default-settings 2.0.0__tar.gz → 2.1.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: apis-acdhch-default-settings
3
- Version: 2.0.0
3
+ Version: 2.1.0
4
4
  Summary: Default settings for APIS instances at the ACDH-CH
5
5
  License: MIT
6
6
  Author: Birger Schacht
@@ -44,6 +44,7 @@ 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",
@@ -88,7 +89,8 @@ CSP_DEFAULT_SRC = (
88
89
 
89
90
  # django-crispy-forms settings
90
91
  # https://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs
91
- CRISPY_TEMPLATE_PACK = "bootstrap4"
92
+ CRISPY_TEMPLATE_PACK = "bootstrap5"
93
+ CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
92
94
 
93
95
  # django-rest-framework settings
94
96
  # https://www.django-rest-framework.org/api-guide/settings/
@@ -175,7 +177,7 @@ MEDIA_URL = "/media/"
175
177
 
176
178
  # django-tables2 setting
177
179
  # https://django-tables2.readthedocs.io/en/latest/pages/custom-rendering.html#available-templates
178
- DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap4.html"
180
+ DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap5.html"
179
181
 
180
182
  # apis-core-rdf settings
181
183
  if os.environ.get("PUBLIC_URL"):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "apis-acdhch-default-settings"
3
- version = "2.0.0"
3
+ version = "2.1.0"
4
4
  description = "Default settings for APIS instances at the ACDH-CH"
5
5
  authors = ["Birger Schacht <birger.schacht@oeaw.ac.at>"]
6
6
  license = "MIT"