Reload django variable with ajax

后端 未结 0 1875
情深已故
情深已故 2021-02-06 01:02

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:
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题