wiki:RoutesIntegration
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Version 1 (modified by spleeman@…, 14 years ago) (diff)

Added a stub for routes integration. I have the code, I just don't have the time to write it all up.

Using Routes with TurboGears

 Routes is a Python re-implementation of the  Rails routes system for mapping URL's to Controllers/Actions? and generating URL's. Routes makes it easy to create pretty and concise URL's that are RESTful with little effort.

This is a preliminary integration of routes which is implimented on an app by app basis. No magical discovery of controllers is available yet, but I plan on implimenting this in the near future.

Firstly, you don't need to connect your controllers to the root controller as you would usually do. The connection of the required controller is done on an ad hoc basis.

More to come this evening, when I actually have time :) - Lee