From 53d140748330011ef344215caf34d3e7d1d262a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Am=C3=A9lie=20Krej=C4=8D=C3=AD?= Date: Mon, 25 Sep 2023 14:40:22 +0200 Subject: [PATCH] Replace ifnotequal with if ifequal and ifnotequal are deprecated in Django 4.0 --- storages/templates/storage.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storages/templates/storage.html b/storages/templates/storage.html index 8da0c31..4b6235b 100644 --- a/storages/templates/storage.html +++ b/storages/templates/storage.html @@ -160,7 +160,7 @@ - {% ifnotequal volume.type "iso" %} + {% if volume.type != "iso" %} @@ -168,7 +168,7 @@ - {% endifnotequal %} + {% endif %}
{% csrf_token %}