Skip to main content
https://badge.fury.io/py/django-secretballot.svg https://img.shields.io/pypi/pyversions/django-secretballot.svg https://img.shields.io/pypi/djversions/django-secretballot.svg https://github.com/bashu/django-secretballot/actions/workflows/test.yml/badge.svg

Django voting application that allows voting without a logged in user.

Provides abstract base model for types that the user wishes to allow voting on as well as related utilities including generic views to ease the addition of ‘anonymous’ voting to a Django project.

Maintained by Basil Shubin, and some great contributors.

Documentation

For more details, see the documentation at Read The Docs.

Contributing

If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)

Credits

django-secretballot was originally started by James Turk who has now unfortunately abandoned the project.

License

django-secretballot is released under the BSD license.

Changes

2.0.1 (WIP)

  • drop support for Python < 3.10 and Django < 5.2

  • add support for Django 6.0 and 6.1

  • switch packaging to pyproject.toml, drop setup.py/setup.cfg

  • switch CI to GitHub Actions, add pre-commit and dependabot config

2.0.0 (2021-10-26)

  • drop compatibility code for Django 1.10 and below

  • make it possible to customize Vote model per project

1.0.0 (2017-12-05)

  • final release that supports Django 1.8 and up

0.7.1 (2017-10-03)

  • improved support for Django 2.0

0.7.0 (2017-05-05)

  • improved support for Django 1.11

0.6.0 (2016-10-07)

  • support for Django 1.10 new manager rules

  • add migrations

  • fix case where object is not fetched through correct manager

0.5.0 (2015-11-02)

  • drop South support

  • drop support for Django < 1.8, add support for Django 1.9

0.4.0 (2015-05-27)

  • drop South support

  • drop support for Django < 1.7, add support for Django >= 1.7

  • add Python 3 support

  • add a ton of tests

  • fix bug if vote_name was set in enable_voting_on

0.3.0 (2015-04-17)

  • related_fields and get_object_or_404 fix from François Chapuis

  • add property to check if secretballot is present on a class

  • add indexed timestamps to votes via Simon de Han

  • make response valid JSON for mimetype compatibility via Dan Drinkard

0.2.3 (2010-03-30)

  • bugfixes, thanks to Gennadiy Potapov

0.2.2 (2009-11-27)

  • fixed embarassing SyntaxError in vote

0.2.1 (2009-11-24)

  • fix some documentation issues left from 0.1

  • make content_type more flexible (can now take a model, content_type, or ‘app.model’ string)

0.2.0 (2009-02-11)

  • replace inheritance from VotableObject with enable_voting_on

  • when injecting manager methods inherit from existing manager

0.1.0 (2009-01-24)

  • initial working release

Download files

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

Source Distribution

django_secretballot-2.0.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_secretballot-2.0.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file django_secretballot-2.0.1.tar.gz.

File metadata

  • Download URL: django_secretballot-2.0.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for django_secretballot-2.0.1.tar.gz
Algorithm Hash digest
SHA256 9ddc94f7d466fad8fe9073cf1ff3037c63b31bb390759d1043a2972f6032d451
MD5 e53f9a62fcbc4259f542170a22faa29d
BLAKE2b-256 e19f7da7929805c43a7ac6f8ab1ece9c2fca0dc7bac43c2cdc1edd64d7203112

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_secretballot-2.0.1.tar.gz:

Publisher: release.yml on bashu/django-secretballot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_secretballot-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_secretballot-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb0fed7baf7fc58ab3fc14a2aa7837ad653de036e95fb2e1ed9cd0ad404186a6
MD5 3421c8f816bda9d8f3bcf716f83af645
BLAKE2b-256 49a0c215d5087e8d16e592890bd2bb86b5dcfccdca7d52259d092ec4558651f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_secretballot-2.0.1-py3-none-any.whl:

Publisher: release.yml on bashu/django-secretballot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page