tg.userprofile /

Filename Size Date modified Message
49 B
108 B
1.1 KB
1.1 KB

About userprofile

userprofile is a Pluggable application for TurboGears2.


userprofile can be installed both from pypi or from bitbucket:

easy_install userprofile

should just work for most of the users

Plugging userprofile

In your application config/ import plug:

from tgext.pluggable import plug

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

plug(base_config, 'userprofile')

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

Available Hooks

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

Exposed Partials

userprofile 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: