Django: store a json string as data attribute in Django template

前端 未结 0 1115
广开言路
广开言路 2021-01-07 02:05

In Django i am passing a json string to template and want to store it as a data attribute in an html tag and later use that json string in Jquery

Like

         


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