Skip to main content

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:

Release files for tgapp-tgpolls 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tgapp-tgpolls 0.0.6
File Size Uploaded
tgapp-tgpolls-0.0.6.tar.gz 40.4 kB Details

Release files / tgapp-tgpolls-0.0.6.tar.gz

Download URL tgapp-tgpolls-0.0.6.tar.gz
Size 40.4 kB
Tags Source
SHA-256 checksum
How to use checksums
24afa1e6bb36a7d30b9e0f22a736b97a710677dbad66ed9445be9ec7e912c945
BLAKE2b-256 checksum
How to use checksums
cb4ad339b01832d6daf07319c2b79edfaf57c1ace53a98c951cfdf19c01885b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page