Metadata-Version: 2.4
Name: django-secretballot
Version: 2.0.1
Summary: Django anonymous voting application.
Author-email: James Turk <dev@jamesturk.net>
Maintainer-email: Basil Shubin <basil.shubin@gmail.com>
License-Expression: BSD-3-Clause
Project-URL: download, https://github.com/bashu/django-secretballot/zipball/master
Project-URL: homepage, https://github.com/bashu/django-secretballot/
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 5.2
Classifier: Framework :: Django :: 6.0
Classifier: Framework :: Django :: 6.1
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: django>=5.2
Requires-Dist: django-etc>=1.2.0
Dynamic: license-file

django-secretballot
===================

.. image:: https://badge.fury.io/py/django-secretballot.svg
    :target: https://badge.fury.io/py/django-secretballot

.. image:: https://img.shields.io/pypi/pyversions/django-secretballot.svg
    :target: https://pypi.python.org/pypi/django-secretballot/

.. image:: https://img.shields.io/pypi/djversions/django-secretballot.svg
    :target: https://pypi.python.org/pypi/django-secretballot/

.. image:: https://github.com/bashu/django-secretballot/actions/workflows/test.yml/badge.svg
    :target: https://github.com/bashu/django-secretballot/actions/workflows/test.yml

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 <https://github.com/bashu/>`_, and some great
`contributors <https://github.com/bashu/django-secretballot/contributors>`_.

Documentation
-------------

For more details, see the `documentation <http://django-secretballot.rtfd.org>`_ 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 <https://github.com/bashu/django-secretballot/>`_ was originally started by `James Turk <https://jamesturk.net/>`_ 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
