About youtubevideo
youtubevideo is a Pluggable application for TurboGears2.
Installing
youtubevideo can be installed both from pypi or from bitbucket:
easy_install youtubevideo
should just work for most of the users
Plugging youtubevideo
In your application config/app_cfg.py import plug:
from tgext.pluggable import plug
Then at the end of the file call plug with registration:
plug(base_config, 'youtubevideo', user='youtubeuser')
You will be able to access the registration process at http://localhost:8080/youtubevideo.
Available Hooks
youtubevideo makes available a some hooks which will be called during some actions to alter the default behavior of the appplications:
Exposed Partials
youtubevideo 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:
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-youtubevideo-0.0.3.tar.gz.
File metadata
- Download URL: tgapp-youtubevideo-0.0.3.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfa8fcf2caa3652f78c7cc7d8c648373dae0c887e1888fab7f7d89d5d5a44e38
|
|
| MD5 |
d29d3f7a86c56a860920edca49371cee
|
|
| BLAKE2b-256 |
9b0ed69252058220f7aeb2908ad2f562b5a7bf738f24c7c2a7ef2d7bacb9e721
|