Search code examples
pythondjangovoting

Django Vote Up/Down method


I am making a small app that lets users vote items either up or down. I'm using Django (and new to it!).

I am just wondering, what is the best way to present the upvote link to the user. As a link, button or something else?

I have already done something like this in php with a different framework but I'm not sure if I can do it the same way. Should I have a method for up/down vote and then display a link to the user to click. When they click it, it performs the method and refreshes the page?


Solution

  • Just plug and play:

    RedditStyleVoting
    Implementing reddit style voting for any Model with django-voting
    http://code.google.com/p/django-voting/wiki/RedditStyleVoting