Skip to main content

UNKNOWN

Project description

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:

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

tgapp-tgpolls-0.0.2.tar.gz (39.9 kB view details)

Uploaded Source

File details

Details for the file tgapp-tgpolls-0.0.2.tar.gz.

File metadata

File hashes

Hashes for tgapp-tgpolls-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d4477ee9839cfed8ba3dce74712123ad1383336e655cd6f4b9b671c60ecb3282
MD5 7fcde6d5c87a40329489e236bbef1da6
BLAKE2b-256 6ff79db7efd49bd7feef2aa2a5500cdb070780618fcc70832224bcc4b8f67f5f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page