safe and truncate in django template

110

safe and truncate in django template -

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

Comments

Submit
0 Comments