Open eatonphil opened 9 years ago
So the answer to this is to use stringformat {{var|stringformat:"%s@"}}
. However, this behavior is unexpected. Is it intentional?
It is intentional by now, but could need some improvements, I agree.
{{ "a"|add:"b"|add:"c" }}
, i think that's enough.
Hi @flosch , would it be possible to add the "~" operator to concatenate strings like jinja2 https://jinja.palletsprojects.com/en/2.11.x/templates/#other-operators ? That would be very helpful! Thank you
Trying to concatenate strings {{var+"@"}} returns 0. Is there a way around this?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.