wiki:CatWalk
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 6 (modified by sam@…, 13 years ago) (diff)

--

If you checkout TG from svn you can run CatWalk in two ways:

By mounting it to your controller like this:

from turbogears.toolbox.catwalk import CatWalk

import model

class Root(controllers.Root):
     catwalk = CatWalk(model)

     ...... your controllers method ....

CatWalk will now run on  http://localhost:8080/catwalk

The other option is to run tg-admin toolbox. This will open a new browser window with CatWalk, without having to mess around with your controller

CatWalk has moved under the toolbox from r416. The above import is deprecated. To import it use:

from turbogears.toolbox.catwalk import CatWalk