summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-04-07 12:36:55 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:20 +0100
commit55194aeec747fc07dcaf054877dd194fd1106039 (patch)
treecc2d30385aebb2a7b6d3aebf8dbaa26134617bf0 /ishtar_common/models.py
parent33bcdb096df9e56238f6e21ad0c1da7bcd8e87c9 (diff)
downloadIshtar-55194aeec747fc07dcaf054877dd194fd1106039.tar.bz2
Ishtar-55194aeec747fc07dcaf054877dd194fd1106039.zip
New container management: change ext id
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 4b4753fe3..38e5b2fb4 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2972,7 +2972,8 @@ class IshtarSiteProfile(models.Model, Cached):
"data can be destructive."))
container_external_id = models.TextField(
_("Container external id"),
- default="{responsible__external_id}-{index}",
+ default="{parent_external_id}-{container_type__txt_idx}-"
+ "{reference}",
help_text=_("Formula to manage container external ID. "
"Change this with care. With incorrect formula, the "
"application might be unusable and import of external "