我尝试使用console.log输出{{1}}属性值。使用action.url
但未定义
结果不确定
我认为出了点问题。
我不知道怎么了。
如果您能告诉我错误的位置在哪里,我将不胜感激。
jquery
github: https://github.com/hyunsokstar/ask_class/blob/master/blog/templates/blog/post_detail.html
https://github.com/hyunsokstar/ask_class/blob/master/blog/views_cbv.py