skip to navigation
skip to content

Not Logged In

tgapp-tgpolls 0.0.6

TurboGears2 pluggable application to handle simple polls

About tgpolls

tgpolls is a Pluggable application for TurboGears2 that allows you to create polls and let registered and anonymous users to vote a question created by manager users. The polls are both single choice or multiple choice! And have a termination time!

Installing

tgpolls can be installed both from pypi or from bitbucket:

easy_install tgpolls

should just work for most of the users

Plugging tgpolls

In your application config/app_cfg.py import plug:

from tgext.pluggable import plug

Then at the end of the file call plug with tgpolls:

plug(base_config, 'tgpolls')

You will be able to access the registration process at http://localhost:8080/tgpolls.

Available Hooks

tgpolls makes available a some hooks which will be called during some actions to alter the default behavior of the appplications:

Exposed Partials

tgpolls exposes a bunch of partials which can be used to render pieces of the blogging system anywhere in your application:

Exposed Templates

The templates used by registration and that can be replaced with tgext.pluggable.replace_template are:

 
File Type Py Version Uploaded on Size
tgapp-tgpolls-0.0.6.tar.gz (md5) Source 2012-11-26 39KB
  • Downloads (All Versions):
  • 9 downloads in the last day
  • 79 downloads in the last week
  • 442 downloads in the last month