Skip to content

Application for Django framework that contains generic rating\vote system. Requires modifications in the model, that will be used for voting, to optimize number of database queries.

License

ProstoKSI/django-voter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-voter

Application for Django framework that contains generic ratingvote system. Requires modifications in the model, that will be used for voting, to optimize number of database queries.

Quick overview

More later.

Requirements

Installation

Django voter should be installed using pip: :

pip install git+git://github.com/ProstoKSI/django-voter.git

Setup

  • Add 'blog' to INSTALLED_APPS :

    INSTALLED_APPS += ( 'voter', )
  • Add RatingField to models you want to allow voting for: :

    from voter.models import RatingField
    
    class SomeModle(models.Model):
       ...
       rating = RatingField()

Configure django-voter ===============

Will be later.

Contributing

Development of django-voter happens at github: https://github.com/ProstoKSI/django-voter Please, if you have any insight how to patch existing models - let me know. At this point, having a rating field at model that this field will be required at is the best solution I see from point of number database queries.

License

Copyright (C) 2013 Illia Polosukhin This program is licensed under the MIT License (see LICENSE)

About

Application for Django framework that contains generic rating\vote system. Requires modifications in the model, that will be used for voting, to optimize number of database queries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published