What is the best method to change an img src using javascript with django?

前端 未结 0 2028
情话喂你
情话喂你 2020-11-28 08:31

I can get the img src to change using onclick and a hard path without django template tags. It\'s my impression this is bad practice. How can I get "{% static \'indv_pr

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