Substring in a django template

43

{{ obj.name|slice:"0:3" }}

Comments

Submit
0 Comments