summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-27 18:05:44 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-27 18:05:44 +0100
commit00d97bcabb8e248beced972fa2a890f480cee987 (patch)
tree37593a09aba6ad08c7ffea9fffed0918f50cbe1c /ishtar_common/models.py
parentef5abb44747efb25379dd57483eb7d282244ae54 (diff)
downloadIshtar-00d97bcabb8e248beced972fa2a890f480cee987.tar.bz2
Ishtar-00d97bcabb8e248beced972fa2a890f480cee987.zip
Fix data migration for warehouse - fix default external id formula for containers
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 0da937f1a..604c6923c 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1106,7 +1106,7 @@ class IshtarSiteProfile(models.Model, Cached):
u"data can be destructive."))
container_external_id = models.TextField(
_(u"Container external id"),
- default="{responsible__external_id-index",
+ default="{responsible__external_id}-{index}",
help_text=_(u"Formula to manage container external ID. "
u"Change this with care. With incorrect formula, the "
u"application might be unusable and import of external "