Pretty new to html/ javascript but basically in my views.py, I have a dictionary object created from user form data:
return render(request, 'graph/result.html', {'single_wv': single_wv})
How do I get that context variable into a javascript function (function is inside my html file)?
**Basically I want: index.html form data --> obtained inside views.py with POST --> some manipulation --> dictionary --> dictionary set as context variable --> call inside same index.html javascript function
Sorry if this question is kind of vague, I'm currently in the process of trying to figure everything out!