safe and truncate in django template

105

safe and truncate in django template -

{{post.context|striptags|slice:':300'}}

Comments

Submit
0 Comments