Skip to main content

django-secretballot

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.3 (2026-10-10)

  • drop support for Python 3.10, Python 3.11 is now the minimum requirement

  • add support for Python 3.15

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

Metadata

Release files for django-secretballot 2.0.3

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-secretballot 2.0.3
File Size Uploaded
django_secretballot-2.0.3.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-secretballot 2.0.3
File Interpreter ABI Platform
django_secretballot-2.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 20.8 kB

Release files / django_secretballot-2.0.3.tar.gz

Download URL django_secretballot-2.0.3.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
972522127eb969ca18fa30f0c3f74ec58a69e6836fc36541365748b0a9c49729
BLAKE2b-256 checksum
How to use checksums
f6d934381a517cd3e640937f16b845cf49f43fbe544080b284170a7998e357a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release files / django_secretballot-2.0.3-py3-none-any.whl

Download URL django_secretballot-2.0.3-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9841823f9dcc9f6935d1703d20d11451d2e37946559b5d3f9247c692bcddf858
BLAKE2b-256 checksum
How to use checksums
90ba0684c9828316831e8ce1cce404b2297af3bc9fb743c30fca1c0561db0734
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.3 This release

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1

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