This is a code repository which contains extensions and additional tools for Turbogears2 wsgi technologies.
tg.ext.repoze.who
Authentication and Authorization implementation, based on repoze.who.
version
0.1
installation
easy_install tg.ext.repoze.who
Usage
Mailing List
Please direct questions to the Turbogears Trunk and Repoze Mailing lists.
tg.ext.silverplate
Customizable user management and registration pages.
Usage
To mount Silverplate at your /admin and the profile (registration) system at /spp/
from tg.ext.silverplate.controller import SilverPlate, SilverPlateProfile
class RootController(BaseController):
admin = SilverPlate(provider)
spp = SilverPlateProfile(provider)You may choose to shortcut the registration and profile pages.
#short-cut registration
registration = spp.registration
register = spp.register
#short-cut profile
profile = spp.profile
edit_profile = spp.edit_profileYou may choose to override the silverplate templates for your own. It is best to simply copy the templates you want to override from silverplate into your app's local template directory, and then modify them as you desire.
from tg import override_template
override_template(admin.users, 'genshi:mywebapp.templates.admin.users')
override_template(admin.user, 'genshi:mywebapp.templates.admin.profile')
override_template(admin.index, 'genshi:mywebapp.templates.admin.index')
override_template(admin.group, 'genshi:mywebapp.templates.admin.profile')
override_template(admin.groups, 'genshi:mywebapp.templates.admin.groups')
override_template(admin.permission, 'genshi:mywebapp.templates.admin.profile')
override_template(admin.permissions, 'genshi:mywebapp.templates.admin.permissions')
override_template(spp.registration, 'genshi:mywebapp.templates.admin.registration')
override_template(spp.profile, 'genshi:mywebapp.templates.admin.profile')
Screen Shots
Index Page
New Users Page
Permissions Page
version
0.1rc1
installation
easy_install tg.ext.silverplate
Mailing List
Please direct questions to the Turbogears Trunk Mailing List.
tg.ext.geo
Geographical utilities for Turbogears.
Version
Not yet released
Usage
Coming Soon!
Mailing List
Please direct questions to the Turbogears Trunk Mailing List.