I would like to change the value of a django variable with Ajax from template.
View.py
def myview(request): myvariable = \'initial\' if request.POST: