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

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

 

 

 

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