diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/partial-adoption-notice.html b/src/fellchensammlung/templates/fellchensammlung/partials/partial-adoption-notice.html index a724482..d01b3af 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/partial-adoption-notice.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/partial-adoption-notice.html @@ -27,7 +27,7 @@ {% if adoption_notice.get_photo %}
{{ adoption_notice.get_photo.alt_text }}
{% else %} diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/partial-animal-card.html b/src/fellchensammlung/templates/fellchensammlung/partials/partial-animal-card.html index 2c3ffa2..8384615 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/partial-animal-card.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/partial-animal-card.html @@ -6,7 +6,7 @@
{{ animal.get_sex_display }}
{% if animal.get_photo %} - {{ animal.get_photo.alt_text }} + {{ animal.get_photo.alt_text }} {% else %} {% translate "Keine Foto" %} diff --git a/src/notfellchen/settings.py b/src/notfellchen/settings.py index 19474d9..15eb508 100644 --- a/src/notfellchen/settings.py +++ b/src/notfellchen/settings.py @@ -172,6 +172,7 @@ TEMPLATES = [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', + 'django.template.context_processors.media', 'django.contrib.messages.context_processors.messages', ], },