Dear Anthony,

Thank you, I saw your post. However I think the posts are moderated so
I have asked the same question in a thread and by a thread itself in
the same day but the thread was not approved. It has been approved
today so you see this :)

I can wait until 2.0.4. No problem. Is there a specific date for
2.0.4?

Thanks again.

On 5 Mart, 21:58, Anthony Theocharis <[email protected]>
wrote:
> Hi,
>
> I sent a reply to your question a few days ago, but it looks like my  
> response didn't get posted.
>
> Turbogears 2.0.3 doesn't support Routes yet.
> Turbogears 2.0.4 will support Routes (a release looks promising soon).
>
> If you want to use Routes before 2.0.4 is released, you have two  
> options:
>
> 1) (hardest) We've got support for Routes in the mercurial repository  
> and you can install TG from there:http://bitbucket.org/turbogears/tg-2_0/
>
> 2) (easiest) You can define your own RoutingController in yourproject/
> lib/base.py, like in this 
> file:http://github.com/simplestation/mediacore/blob/master/mediacore/lib/
> base.py
>
> Whichever method you choose, your CompanyController then needs to  
> extend the RoutingController (not TGController as it currently does).
>
> Let me know if you have any further issues!
>
> -- Anthony
>
> On 2-Mar-10, at 10:58 AM, Mengu wrote:
>
>
>
> > Hi everyone,
>
> > I'm a TurboGears beginner. I liked it and would like to learn more. I
> > have a question regarding to custom routes.
>
> > I have updated my config like this:http://paste.pocoo.org/show/
> > eTyG1AdOzRQp1Pf72HfA/
>
> > And this is how I define my CompanyController:
> >http://paste.pocoo.org/show/ilV00zMqkGO6sZOA5Tfu/
>
> > I get 404. Can someone please explain me what I am doing wrong?

-- 
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