Turbogears 2.0.3 doesn't support Routes yet.
Turbogears 2.0.4 will (a release looks promising soon).

For now, we've got support for Routes in the mercurial repository and you can install from there if you want support built in:
http://bitbucket.org/turbogears/tg-2_0/

Controllers you want to use Routes with should then extend RoutingController.

If you want to stick with 2.0.3, you can make your own RoutingController like I did here:
http://getmediacore.com/blog/routes-in-turbogears2/

But beware that if you stick with 2.0.3 there are some additional bugs with pagination and positional url arguments that you might encounter (these are fixed in the mercurial repository, and will be fixed in 2.0.4).

-- Anthony

PS: I hope you don't mind that I've forwarded this message to the turbogears mailing list--but I bet you're not the only person with that question, and maybe we can help somebody else too.

On 2-Mar-10, at 8:30 AM, Mengu wrote:
so, in order to be able to use custom routes, should the controller
class extend DecoratedController? if so, i'm getting this error too.
if not why i'm getting a 404? i have turbogears 2.0.3.

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to