From 58f1d59d7f21f51558154074db52fe785e6763ff Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 8 Dec 2022 17:06:51 +0100 Subject: Import value formater: can use {item} notation for format --- ishtar_common/models_imports.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ishtar_common/models_imports.py') 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() -- cgit v1.2.3