skip to navigation
skip to content

Not Logged In

django-vote 1.01

A simple Django app to conduct vote.

Latest Version: 1.0.9

Vote is a simple Django app to conduct vote for each model

Quick start

  1. Install django-vote by pip:

    pip install django-vote
  2. Add 'vote' to your INSTALLED_APPS setting like this:

  3. Run python syncdb to create the vote models.

  4. Declare vote field to the model you want to vote:

    from vote.manager import VotableManager
    class ArticleReview(models.Model):
        votes = VotableManager()
  5. Use vote API:

    >>> review = ArticleReview.objects.get(pk=1)
    >>> review.votes.up(user)
    >>> review.votes.down(user)
  • Downloads (All Versions):
  • 49 downloads in the last day
  • 183 downloads in the last week
  • 751 downloads in the last month