summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-08 17:15:26 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-13 18:26:03 +0200
commita35fabc84d21f03bf9525d47c2e7fcb74dd0d8ca (patch)
tree7b6e4f62216cf952b98abc710bba2ebef6b93c7e /ishtar_common/models.py
parent33e2c9896761149982d3c6157eff09b304d9b911 (diff)
downloadIshtar-a35fabc84d21f03bf9525d47c2e7fcb74dd0d8ca.tar.bz2
Ishtar-a35fabc84d21f03bf9525d47c2e7fcb74dd0d8ca.zip
Manage relation types in searches
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 10939deea..e2b1d5b02 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -3557,7 +3557,7 @@ class Town(Imported, models.Model):
if settings.COUNTRY == "fr":
cached_label = u"%s - %s" % (self.name, self.numero_insee[:2])
if self.year and self.children.count():
- cached_label += " ({})".format(self.year)
+ cached_label += u" ({})".format(self.year)
return cached_label