apis-acdhch-default-settings 1.4.0__tar.gz → 1.5.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.
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/PKG-INFO +1 -1
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/apis_acdhch_default_settings/settings.py +4 -0
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/apis_acdhch_default_settings/urls.py +0 -4
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/pyproject.toml +1 -1
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/README.md +0 -0
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/apis_acdhch_default_settings/__init__.py +0 -0
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/apis_acdhch_default_settings/ldapauth.py +0 -0
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/apis_acdhch_default_settings/templates/base.html +0 -0
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/apis_acdhch_default_settings/templates/imprint.html +0 -0
- {apis_acdhch_default_settings-1.4.0 → apis_acdhch_default_settings-1.5.0}/apis_acdhch_default_settings/utils.py +0 -0
|
@@ -242,6 +242,10 @@ LOGGING = {
|
|
|
242
242
|
},
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
# https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-DEBUG
|
|
246
|
+
if debug := os.environ.get("DJANGO_DEBUG", False):
|
|
247
|
+
DEBUG = debug.lower() == "true"
|
|
248
|
+
|
|
245
249
|
# Our deployment infrastructure sets the GITLAB_ENVIRONMENT_URL to the
|
|
246
250
|
# repository from which the instance is deployed. Lets reuse this
|
|
247
251
|
# information to set the repository url in APIS
|
|
@@ -17,10 +17,6 @@ urlpatterns = [
|
|
|
17
17
|
path("admin/", admin.site.urls),
|
|
18
18
|
]
|
|
19
19
|
|
|
20
|
-
if "webpage" in settings.INSTALLED_APPS:
|
|
21
|
-
urlpatterns.append(path("", include("webpage.urls", namespace="webpage")))
|
|
22
|
-
handler404 = "webpage.views.handler404"
|
|
23
|
-
|
|
24
20
|
if "apis_bibsonomy" in settings.INSTALLED_APPS:
|
|
25
21
|
urlpatterns.append(
|
|
26
22
|
path("bibsonomy/", include("apis_bibsonomy.urls", namespace="bibsonomy"))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|