djangosnippets.org: Latest snippets tagged with 'characters'https://djangosnippets.org/tags/characters/2007-04-20T18:21:23.209860-05:00Truncate Characters Filter (simple)
2007-04-20T18:21:23.209860-05:00leahculverhttps://djangosnippets.org/snippets/194/<p>Super stripped down filter to truncate after a certain number of letters. Ex: {{ long_blurb|truncchar:20 }} will display 20 characters of the long blurb followed by "..."</p>
Freely redistributable