Hi all,

I've installed Turbogears 1.9.7 in a virtualenv on our Linux
development machine and have been experimenting with it. One thing I'm
stumped about is adding a new controller. When I do this:

paster controller something

It creates a new controller called something.py in my controllers
directory. But after that I'm confused. When I try to navigate to
http://mysite.com/something I get a 404 error. I've done some googling
around and everything I see confuses me more. The hits talk about
adding a map... item to config/routes.py, but I have no routes.py in
my project. They also talk about doing something similar (and a lot
more) in config/environment.py. Can anyone direct me to the right
thing to do to make new controllers active in a TG2 project?

Thanks!
Doug
--~--~---------~--~----~------------~-------~--~----~
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