Substring in a django template

35

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

Comments

Submit
0 Comments