A small polls app in wagtail
pip install wagtail-polls==2.1.0
A small polls app that works with Wagtail's snippets and Django Rest Framework for ajax based voting.
This app requires login for voting and limits one vote per user.
wagtail-polls
via pippolls
to INSTALLED_APPS
url(r'^polls/', include('polls.urls')),
to urls.pyCreate polls in wagtail snippets. Embed them wherever Snippets are supported or in Django admin.
It's expected that the api will be used to submit votes (though do what you will)
Check out the self documenting api at /polls/api/
for more infomation
A docker-compose.yml and demo project is here for quick set up.
docker-compose run --rm web ./manage.py migrate
docker-compose run --rm web ./manage.py createsuperuser
docker-compose up