Adding the like functionality.
Opened this issue · 0 comments
JudahSan commented
- Added the liked_by model in our post
model.py
file. - Did the relevant migrations
- Added the like_post view. Add a trigger rule: post is liked when the like button is clicked and undone when the already liked button is clicked.