diff --git a/boofilsic/settings.py b/boofilsic/settings.py index 1047b79b..e645fb37 100644 --- a/boofilsic/settings.py +++ b/boofilsic/settings.py @@ -616,8 +616,11 @@ def _init_language_settings(preferred_lanugages_env): if SENTRY_DSN: import sentry_sdk from sentry_sdk.integrations.django import DjangoIntegration + from sentry_sdk.integrations.logging import ignore_logger from sentry_sdk.integrations.loguru import LoguruIntegration + ignore_logger("podcastparser") + sentry_env = sys.argv[0].split("/")[-1] if len(sys.argv) > 1 and sentry_env in ("manage.py", "django-admin"): sentry_env = sys.argv[1] diff --git a/catalog/templates/item_base.html b/catalog/templates/item_base.html index 8a4d4655..01700307 100644 --- a/catalog/templates/item_base.html +++ b/catalog/templates/item_base.html @@ -223,17 +223,35 @@
{{ item.display_description | linebreaksbr }}
- {% elif item.parent_item.display_description %} -{{ item.parent_item.display_description | linebreaksbr }}
- {% else %} -{% trans 'nothing so far.' %}
- {% endif %} - {% block content %}{% endblock %} +{{ item.display_description | linebreaksbr }}
+ {% elif item.parent_item.display_description %} +{{ item.parent_item.display_description | linebreaksbr }}
+ {% else %} +{% trans 'nothing so far.' %}
+ {% endif %} + +