Skip to main content

A simple Django app to conduct vote.

Project description

=====
Vote
=====

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


Quick start
-----------

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

INSTALLED_APPS = (
...
'vote',
)

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

2. Run `python manage.py 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)

Project details


Release history Release notifications

History Node

2.1.7

History Node

2.1.6

History Node

2.1.5

History Node

2.1.4

History Node

2.1.3

History Node

2.1.2

History Node

2.0.1

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.9

History Node

1.0.8

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

This version
History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-vote-1.0.tar.gz (4.2 kB) Copy SHA256 hash SHA256 Source None Jul 7, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page