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
File details
Details for the file tgapp-tgpolls-0.0.4.tar.gz
.
File metadata
- Download URL: tgapp-tgpolls-0.0.4.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51325d22c1bdf495ffcab0617725ab81dce025b256406c741c32bf999156a1e9 |
|
MD5 | 171505c2299501839d9deca05bef7e6a |
|
BLAKE2b-256 | 9f92a703bd5ddd4d4a5c7f8df78616d41d2757a440a379138e4e62b6bf36d888 |