From 2315114090815aed72be2b9bc936d7b6374f12fc Mon Sep 17 00:00:00 2001 From: Mattias Loverot Date: Tue, 16 Aug 2016 12:07:03 +0200 Subject: Fixed #27067 -- Deprecated string_concat() in favor of format_lazy(). --- docs/ref/utils.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 07fa53990e..893ecb5792 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -1107,6 +1107,12 @@ For a complete discussion on the usage of the following see the .. function:: string_concat(*strings) + .. deprecated:: 1.11 + + Use :meth:`django.utils.text.format_lazy` instead. + ``string_concat(*strings)`` can be replaced by + ``format_lazy('{}' * len(strings), *strings)``. + Lazy variant of string concatenation, needed for translations that are constructed from multiple parts. -- cgit v1.3