Skip to content

string_concat deprecated since Django >= 1.11

Dong Zhuang requested to merge dzhuang/relate:string_concat_compatiblity into master

I copied the definition of both string_concat and format_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

Merge request reports

Loading