Python List not getting in rendered in javascript

I have a javascript which takes two variables i.e two lists one is a list of numbers and the other list of strings from django/python numbersvar = [0,1,2,3] stringsvar = ['a','b','c'] The numbersvar is rendered perfectly but when I do {{stringsvar}} it does not render it.
Could you give an example of the code you're using to output these?

以上就是Python List not getting in rendered in javascript的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准