https://github.com/fantomas42/django-minipoll
A simple app for making polls easily on your django website.
https://github.com/fantomas42/django-minipoll
Last synced: over 1 year ago
JSON representation
A simple app for making polls easily on your django website.
- Host: GitHub
- URL: https://github.com/fantomas42/django-minipoll
- Owner: Fantomas42
- Created: 2009-10-07T10:02:02.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2010-09-03T15:54:50.000Z (almost 16 years ago)
- Last Synced: 2023-04-19T16:52:40.719Z (over 3 years ago)
- Language: Python
- Homepage: http://fantomas.willbreak.it
- Size: 113 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
===============
Django-Minipoll
===============
Django-MiniPoll is a django application who allow you to put
a mini poll or survey on your website.
You create a question, you give it some choices, you publish and
yours visitors can answer to the question.
.. contents::
Installation
============
After having put minipoll in your *PYTHON_PATH*, you only have to register **minipoll**
in your *INSTALLED_APPS* section. And register this bundle of urls in project's urls. ::
>>> url(r'^polls/', include('minipoll.urls')),
Synchronize your database, publish a poll and this is it.
Tags
====
Django-MiniPoll provides 3 templatetags for displaying the polls on your website.
* display_poll_form
This tag if for publishing a poll form for user submissions.
* display_poll_result
You can display the results of the poll by putting this tag on your pages.
* display_last_poll
For simply including the latest poll in your website. If an user as already vote,
the results are displayed else the poll form.