Answer the question
In order to leave comments, you need to log in
Like Dislike in pure django?
I do not want to reinvent the wheel with insufficient knowledge of js. I’ll ask you who used what, maybe there are some of their developments? Of all that I did not test, it was not possible to fix too old.
django-valuate
django-generic-ratings
failed.
Answer the question
In order to leave comments, you need to log in
There are tutorials on this subject:
www.tangowithdjango.com/book17/chapters/ajax.html#...
Is it already difficult to create your own model with likes and attach js to it?
Just came up with my work for you:
class Vote(Model):
like = BooleanField()
user = ForeignKey(settings.AUTH_USER_MODEL)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question