Django-Likes
Django-Likes copied to clipboard
Learn how to create an AJAX-powered like button in Django.
Results
2
Django-Likes issues
Sort by
recently updated
recently updated
newest added
The onClick function on like button was not updating the 'data-likes' attribute, thus, the var 'likeCount' always remained constant. Hence, the updating of likes_count has been added.
Fix ajax like_count error by appending `like_count` in `PostLikeAPIToggle`