Z
Z
zelsky2015-07-06 13:07:51
Django
zelsky, 2015-07-06 13:07:51

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

4 answer(s)
V
van2048, 2015-07-06
@zelsky

There are tutorials on this subject:
www.tangowithdjango.com/book17/chapters/ajax.html#...

S
sim3x, 2015-07-06
@sim3x

Is it already difficult to create your own model with likes and attach js to it?

R
Roman Kitaev, 2015-07-06
@deliro

Just came up with my work for you:

class Vote(Model):
    like = BooleanField()
    user = ForeignKey(settings.AUTH_USER_MODEL)

U
un1t, 2015-07-06
@un1t

it is possible without js, send the form using the post method

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question