1.点赞效果:
2.前端代码:
3.后端代码:
urls.py:(注意路由的位置要写在带有$路由的上方 )
views.py
标签:逻辑,点赞点,代码,py,路由,正确 From: https://www.cnblogs.com/vless/p/17134688.html
1.点赞效果:
2.前端代码:
3.后端代码:
urls.py:(注意路由的位置要写在带有$路由的上方 )
views.py
标签:逻辑,点赞点,代码,py,路由,正确 From: https://www.cnblogs.com/vless/p/17134688.html