djanog view caps first letter code example
Example 1: django filter text first character upper case
# Displays 'johndoe' as 'Johndoe'
{{ firstname|title }}
Example 2: filter titlecase django
{{ "myname"|title }}
# Displays 'johndoe' as 'Johndoe'
{{ firstname|title }}
{{ "myname"|title }}