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 | 4129fb1a79f4082466940c3d0b0ced7767697664 (patch) | |
tree | c67ac8afe2228a572272dcebe8853d5d82bad9af /ishtar_common/models.py | |
parent | aba701cfb26a9432cd306ba832a5357b0705ae01 (diff) | |
download | Ishtar-4129fb1a79f4082466940c3d0b0ced7767697664.tar.bz2 Ishtar-4129fb1a79f4082466940c3d0b0ced7767697664.zip |
Tests: fix default conversion to str
Diffstat (limited to 'ishtar_common/models.py')
-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): |