diff options
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 8c150bf29..de494e863 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3759,6 +3759,8 @@ class Town(Imported, models.Model): @property def label_with_areas(self): label = [self.name] + if self.numero_insee: + label.append(u"({})".format(self.numero_insee)) for area in self.areas.all(): label.append(u" - ") label.append(area.full_label) |