Computer scienceBackendDjangoTemplates

Template filters

Title

Report a typo

Assume that you pass the following context to a template:

blog_name = 'All about Django'

Access blog_name as a variable and add it to the content of the "h2" element. Using only the title filter, capitalize all first letters in it.

Write a program in Python 3
template = """
<html>
<h2> </h2>
</html>
"""
___

Create a free account to access the full topic