summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMattias Loverot <mattias@stubin.se>2016-08-16 12:07:03 +0200
committerTim Graham <timograham@gmail.com>2016-08-25 16:12:40 -0400
commit2315114090815aed72be2b9bc936d7b6374f12fc (patch)
tree6caf23c46dfc24c499fb624a729058973c1e2ef6 /docs/ref
parent13c3e5d5a05e9c358d212d154addd703cac3bc66 (diff)
Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/utils.txt6
1 files changed, 6 insertions, 0 deletions
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.