1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().

This commit is contained in:
Mattias Loverot
2016-08-16 12:07:03 +02:00
committed by Tim Graham
parent 13c3e5d5a0
commit 2315114090
10 changed files with 44 additions and 20 deletions

View File

@@ -477,3 +477,7 @@ Miscellaneous
* ``django.test.runner.setup_databases()`` is moved to
:func:`django.test.utils.setup_databases`. The old location is deprecated.
* ``django.utils.translation.string_concat()`` is deprecated in
favor of :func:`django.utils.text.format_lazy`. ``string_concat(*strings)``
can be replaced by ``format_lazy('{}' * len(strings), *strings)``.