Refs #27067 -- Removed django.utils.translation.string_concat() per deprecation timeline.

This commit is contained in:
Tim Graham 2017-09-02 19:54:21 -04:00
parent 9463a7a8cd
commit 87d2240e6c
4 changed files with 5 additions and 37 deletions

View file

@ -1057,17 +1057,6 @@ functions without the ``u``.
See :ref:`lazy translations documentation <lazy-translations>`.
.. 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.
.. function:: activate(language)
Fetches the translation object for a given language and activates it as