python学习-- Django传递数据给JS

var List = {{ List|safe }};//safe 必须存在

 

 

 

posted @ 2019-03-14 09:56  阿Q啊  阅读(3367)  评论(0)    收藏  举报