string_concat deprecated since Django >= 1.11
I copied the definition of both string_concat
andformat_lazy
and gave the definition of string_concat
using format_lazy
, in this way, we can use both functions in Relate by
from relate.utils import string_concat
from relate.utils import format_lazy
And the usage of string_concat
can be removed when we have time to do so.
@inducer will that be OK? if yes, then I can proceed.
Edited by Dong Zhuang