how to slice django trunchar code example Example: truncate templat tag django {{ value|truncatechars:9 }}