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.

Source Distribution

django-simple-poll-0.2.3.tar.gz (9.3 kB view hashes)

Uploaded source

Built Distribution

django_simple_poll-0.2.3-py3-none-any.whl (17.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page