On Mar 31, 2011, at 7:30 AM, David J. wrote: > > Seeing that using a "-" in function names is invalid in python; > > I was wondering how I define in my controller "get-started" url; > > If I define in my controller > > def get-started(): > return dict() > > Its invalid; so I have to maybe use routes.py to rewrite it to just > getstarted()? > > Is this the right approach;
The easiest thing to do is not use hyphens; make it get_started, perhaps. Alternatively, the new router will by default let you use get-started in the URL, and translate it to get_started internally.

