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:
committed by
Tim Graham
parent
13c3e5d5a0
commit
2315114090
@@ -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)``.
|
||||
|
||||
Reference in New Issue
Block a user