Django ajax How would I change my code to use ajax to like posts without refreshing

前端 未结 0 1948
再見小時候
再見小時候 2020-12-03 02:50

I\'m trying to create a like button. Currently I have it so that user\'s can like/unlike a post on an article. However, whenever they press the button, the page resets and t

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