summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
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 a2da684c5..db2fb8f33 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -509,7 +509,7 @@ class BaseHistorizedItem(models.Model):
slugify(self.get_town_label()).upper(),
slugify(self.short_class_name),
slugify(self.reference),
- slugify(self.name or '').replace('-', '_').capitalize()]
+ self.name or '']
last_edition_date = self.last_edition_date
if last_edition_date:
items.append(last_edition_date.strftime('%Y%m%d'))