From a8c5d35302a4d69bc8d67891bc79372c20bb44cc Mon Sep 17 00:00:00 2001 From: vincent porte Date: Mon, 18 Sep 2023 17:23:46 +0200 Subject: [PATCH] fix(forum_attachment) missing file in dev - add comment --- .../forum_conversation/forum_attachments/attachments_detail.html | 1 + 1 file changed, 1 insertion(+) diff --git a/lacommunaute/templates/forum_conversation/forum_attachments/attachments_detail.html b/lacommunaute/templates/forum_conversation/forum_attachments/attachments_detail.html index 912d590f4..c56b248b2 100644 --- a/lacommunaute/templates/forum_conversation/forum_attachments/attachments_detail.html +++ b/lacommunaute/templates/forum_conversation/forum_attachments/attachments_detail.html @@ -6,6 +6,7 @@ {% if post.attachments.exists and user_can_download_files %}
{% for attachment in post.attachments.all %} + {% comment %}to prevent failure in dev, when files don't exist{% endcomment %} {% if attachement %} {% if not attachment|is_image %}