Skip to main content

Django simple poll application

Project description

Simple Django poll application.


pip install django-simple-poll

Install latest from github:
pip install -e git+

Django 1.10+, Python 2.7, 3.4+


1. Add 'poll' application in the ``INSTALLED_APPS`` settings:


2. Add the poll's url to your

urlpatterns = [
url(r'^poll/', include('poll.urls')),

3. Run ```python migrate```

4. Go to site's admin area and create a new poll:

5. Add this tags in your template file to show the poll:

{% load poll_tags %}
{% poll %}

6. Check if jQuery is already included on the page. If don't — add it:
<script src=""></script>

7. Make vote, see the results:

![2017-03-28 17 17 10](
![2017-03-28 17 17 05](


Of course, you can (and probably, should) customize Simple Poll's templates. You can simply do this by overriding `base.html`, `poll.html` and `result.html` in `templates/poll` directory.

Project details

Download files

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

Files for django-simple-poll, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size django_simple_poll-0.2.3-py3-none-any.whl (17.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-simple-poll-0.2.3.tar.gz (9.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page