A shorter version of Matthijs’ answer:
{{ user.name.split|join:"_" }}
Of course it only works when splitting on whitespace.
A shorter version of Matthijs’ answer:
{{ user.name.split|join:"_" }}
Of course it only works when splitting on whitespace.