Installing and Enabling ToscaWidgets

Installation

ToscaWidgets can be installed using easy_install from setuptools.

To install the latest stable release type in a shell:

$ easy_install ToscaWidgets

For the tutorials below, you will also need tw.forms:

$ easy_install tw.forms

Enabling ToscaWidgets in your Web Framework

For instructions and an example, select your framework:

Once you’ve enabled ToscaWidgets, you can move on to the tw.forms tutorial.

Hints and Tips

If you only have a few widgets, just define them in the controller. If you have more, create a separate widgets.py file.