Skip to main content
django-voter
##############

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.

.. contents::

Quick overview
==============

More later.

Requirements
==============

- python >= 2.5
- pip >= 0.8
- django >= 1.2
- django-misc (https://github.com/ilblackdragon/django-misc)

Installation
=============

**Django voter** should be installed using pip: ::

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


Setup
============

- Add 'blog' to INSTALLED_APPS ::

INSTALLED_APPS += ( 'ratings', )

- Add RatingField to models you want to allow voting for: ::


from ratings.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/ilblackdragon/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)

Metadata

Release files for django-voter 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-voter 0.1.0
File Size Uploaded
django-voter-0.1.0.zip 23.6 kB Details

Release files / django-voter-0.1.0.zip

Download URL django-voter-0.1.0.zip
Size 23.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c900d5b49825b242edcfe8c31cec53e0b65871be8efdecf1478537913c72cedb
BLAKE2b-256 checksum
How to use checksums
504ca01a9cb89f5d7a9e3736e27b6bcf95242f3f096a178a69a52281297ead03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page