Previous topic

Porting Guide from SQLObject to Elixir over SQLAlchemy

Next topic

Creating Big Applications

Replacing TurboGears Widgets with ToscaWidgetsΒΆ

To make the switch entirely from traditional TG widgets to ToscaWidgets:

  1. Install ToscaWidgets (easy_install ToscaWidgets).
  2. Install twForms (easy_install tw.forms).
  3. In your app.cfg, set “toscawidgets.on = True”.
  4. Change your site template so that it does not have any calls to ET (these were needed in older TurboGears versions to render widgets using Kid templates on web pages rendered using Genshi templates).
  5. If your app.cfg has anything in tg.include_widgets, install the “tw*” version of the widget and reference the new version in tg.include_widgets.