I want to dynamically generate a page using the base template
I need to insert a piece of HTML code on the page
I have checkboxes and after selecting some, generate new ones according to favorites.
It doesn't work as it should :
def index(request):
context = {'content': '<h1>hello</h1>'}
return render(request, 'base.html', context)
on the HTML page :
<h1>hello</h1>
how to insert html tags into base template?