Simple Django poll application.
pip install django-simple-poll
Install latest from github:
pip install -e git+https://github.com/applecat/django-simple-poll.git#egg=django-simple-poll
-
Add 'poll' application in the
INSTALLED_APPS
settings:INSTALLED_APPS = ( # ... 'poll', )
-
Add the poll's url to your urls.py.
urlpatterns = patterns('', # ... url(r'^poll/', include('poll.urls')), )
-
Run python manage.py syncdb or python manage.py migrate poll if you using South.
-
Add this tags in your template file to show poll:
{% load poll_tags %} {% poll %}