Learning TurboGears 2.0: Quick guide to the Quickstart pages.

Content Type Dispatch

This page shows how you can provide multiple pages directly from the same controller method. This page is generated from the expose decorator with the template defintion provided. You can provide a url with parameters and this page will display the parameters as html, and the json version will express the entries as JSON.

Click here for the JSON Version of this page.

The data provided in the template call is:

${key} ${value}