I want to display a value that user types
I am able to get the value using this lines:
def on_submit_click(req):
name = req.GET['search']
return render(req, 'search_test.html')
But i'm not quite sure how to display it on the website
I tried doing this in the search_test.html:
<h1 class="text-white text-center">{{ name }}</h1>
But it didn't work either.