From a55b290ed3745cefb82d189d8dc678c762301fa6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 2 Apr 2019 16:38:18 +0200 Subject: Tests: fix default conversion to str --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index a17bcac03..4d699bfd8 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3242,7 +3242,7 @@ class Town(Imported, models.Model): return res def __str__(self): - return self.cached_label + return self.cached_label or "" @property def label_with_areas(self): -- cgit v1.2.3