django capitalize code example
Example 1: truncate templat tag django
{{ value|truncatechars:9 }}
Example 2: django filter text first character upper case
# Displays 'johndoe' as 'Johndoe'
{{ firstname|title }}
Example 3: filter titlecase django
{{ "myname"|title }}