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
commitfccd2510276e510132d121cd88e76d62b1899122 (patch)
tree7b6e4f62216cf952b98abc710bba2ebef6b93c7e /ishtar_common/models.py
parent15e4d32a3220f0f0f4de43f0217b893da862cc4a (diff)
downloadIshtar-fccd2510276e510132d121cd88e76d62b1899122.tar.bz2
Ishtar-fccd2510276e510132d121cd88e76d62b1899122.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