pyramid_genshi

Genshi template bindings for the Pyramid web framework
Download

pyramid_genshi Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Victor Lin

pyramid_genshi Tags


pyramid_genshi Description

pyramid_genshi provides bindings for Genshi templating support under Pyramid.To use pyramid_genshi, simply include pyramid_genshi in your Pyramid main function:config.include('pyramid_genshi')And you can use it as you use other template:@view_config(route_name='home', renderer='my_project:templates/home.genshi')def home(request): return 'Hello world'To adjust output format, you can change genshi.method in settings.genshi.method = xhtmlTo adjust the default i18n domain, you can change genshi.default_domain in settings.genshi.default_domain = my_domainProduct's homepage


pyramid_genshi Related Software