A list is created. I want to display the list in the template.
search_query=[]
#...
#code here
#...
return render(request, 'query/list.html', {'search_query'})
But it is giving this error - "context must be a dict rather than set."
In the list.html
{% for c in suggest_search_query%}
<p>{{c}}</p>
{% endfor %}