I actually found the opposite of this. Namely, it maps underscores to hyphens, as I described above. Note that, my app's name has underscores; but my controllers have none.
On Mar 30, 6:08 pm, Jonathan Lundell <[email protected]> wrote: > On Mar 30, 2011, at 3:59 PM, VP wrote: > > > > > I think this is whatt he new routing mechanism does. Is this right? > > Is there a technical reason why? > > > My app's name has a hyphen in it. And the links are all broken. > > By default, the new router maps hyphens in URLs (for the > app/controller/function) to underscores, to make them valid Python > identifiers. > > Put map_hyphen = False in the routing dictionary to disable the translation.

