diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-02 16:38:18 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:27 +0200 |
commit | a55b290ed3745cefb82d189d8dc678c762301fa6 (patch) | |
tree | c67ac8afe2228a572272dcebe8853d5d82bad9af /ishtar_common | |
parent | 0c3b9124dc790efa6a5f7e3883d7a3e8a5708389 (diff) | |
download | Ishtar-a55b290ed3745cefb82d189d8dc678c762301fa6.tar.bz2 Ishtar-a55b290ed3745cefb82d189d8dc678c762301fa6.zip |
Tests: fix default conversion to str
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |