summaryrefslogtreecommitdiff
path: root/ishtar_common/models_imports.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-08 17:06:51 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:23:20 +0100
commitc8de10fe7262c28655132be7a41114fc3e200be0 (patch)
tree6bbabcb11171f6c484f824e4a811e23072c7fcd9 /ishtar_common/models_imports.py
parent66c25ade1b4b79e0179a1b8e92ceee51492c33cf (diff)
downloadIshtar-c8de10fe7262c28655132be7a41114fc3e200be0.tar.bz2
Ishtar-c8de10fe7262c28655132be7a41114fc3e200be0.zip
Import value formater: can use {item} notation for format
Diffstat (limited to 'ishtar_common/models_imports.py')
-rw-r--r--ishtar_common/models_imports.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py
index 46d92c994..b61d591b1 100644
--- a/ishtar_common/models_imports.py
+++ b/ishtar_common/models_imports.py
@@ -672,7 +672,8 @@ class ValueFormater(models.Model):
"A string used to format a value using the Python "
'"format()" method. The site https://pyformat.info/ '
'provide good examples of usage. Only one "{}" entry '
- "is managed. The input is assumed to be a string."
+ 'is managed. Instead you can use "{item}". The input is '
+ 'assumed to be a string.'
),
)
objects = SlugModelManager()