diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/utils.txt | 6 |
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. |
