Metadata-Version: 1.1
Name: django-vote
Version: 1.0.5
Summary: A simple Django app to conduct vote.
Home-page: https://github.com/Beeblio/django-vote
Author: shellfly
Author-email: shell0fly@gmail.com
License: BSD License
Description: =====
        Vote
        =====
        
        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::
        
            INSTALLED_APPS = (
            ...
            'vote',
            )
        
        3. Run ``python manage.py 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)
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
