Skip to content

LuanP/django-simple-poll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Django poll application.

Installation

pip install -e git+https://github.com/applecat/django-simple-poll.git#egg=django-simple-poll

Usage

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

    INSTALLED_APPS = (
    	# ...
    	'poll',
    )
    
  2. Add the poll's url to your urls.py.

    urlpatterns = patterns('',
    	# ...
    	url(r'^poll/', include('poll.urls')),
    )
    
  3. Run python manage.py syncdb or python manage.py migrate poll if you using South.

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

    {% load poll_tags %}
    {% poll %}
    

Based on https://bitbucket.org/RafRaf/django-poll-system

About

Simple Django poll application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published