how do we handle and create like button in django?
Submitted4 years, 8 months ago
Ticket#60
Views1508
Language/FrameworkDjango
PriorityLow
StatusClosed
Hello,
I have a django web app and i want to add some like button in my feeds like facebook,twitter etc. But I have no idea how to create and handle likes in django . Can anyone help or guide me ? Waiting for your reply.
@Prameessa249 .
You have to come up with below steps in order to achive that,
Let say you have comment model and for each comment you could design LIKES/DISLIKES accordingly,
Based on this high level template, you can move forward with the view & template logic.