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.2 (2026-08-17)

  • switch docs badges to badge.fury.io and GitHub Actions

2.0.1 (2026-08-16)

  • 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.2.tar.gz (12.8 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.2-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_secretballot-2.0.2.tar.gz
  • Upload date:
  • Size: 12.8 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.2.tar.gz
Algorithm Hash digest
SHA256 d71c26060fed182b68ead0780b9c312bfb8ba99f936d71c581508f08ac257035
MD5 c7f8f18c5fc38500cdab74422ced3875
BLAKE2b-256 d87c4854b4e33f0b2add4613a0608d7e7a3488b5c429e3f869a1c31c3092fd34

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_secretballot-2.0.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_secretballot-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a79e7bd50038f4dca637cd0c40a88d07c5b35958f1b55f9bea1906cca75d70bf
MD5 98a50a33133865eb284f1b9e88e8c337
BLAKE2b-256 0c174e352b581c73a430dcc792f3f639d7ab24299e3709f81586cc76f582d379

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_secretballot-2.0.2-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