skip to navigation
skip to content

django-vote 1.0

A simple Django app to conduct vote.

Latest Version: 2.1.5


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

Quick start

1. Add ``"vote"`` to your ``INSTALLED_APPS`` setting like this::


2. Include the polls URLconf in your project like this::

2. Run `python syncdb` to create the vote models.

3. Declare vote filed to the model you want to vote::

from vote.manager import VotableManager

class ArticleReview(models.Model):
votes = VotableManger()

4. Use vote API::

>>> review = ArticleReview.get(pk=1)
>>> review.up(user)
>>> review.down(user)  
File Type Py Version Uploaded on Size
django-vote-1.0.tar.gz (md5) Source 2014-07-07 4KB