From 962c6fd10b96fec7c1bef60aec032e748d00aa79 Mon Sep 17 00:00:00 2001 From: gnuter3000 Date: Mon, 3 Jul 2023 23:25:41 +0200 Subject: [PATCH] if there is a NONE field show "" --- bird/templates/bird/bird_all.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bird/templates/bird/bird_all.html b/bird/templates/bird/bird_all.html index 1d69252..7afb772 100644 --- a/bird/templates/bird/bird_all.html +++ b/bird/templates/bird/bird_all.html @@ -65,7 +65,7 @@ {{ bird.place }} {{ bird.date_found }} {{ bird.status }} - {{ bird.aviary }} + {{ bird.aviary|default_if_none:"" }} {{ bird.cost_sum }} € {% endfor %}