On Aug 31, 2010, at 12:53 PM, mwolfe02 wrote: > > default_function does not seem to be recognized properly in app- > specific routes.py. I'm thinking default_controller may have a > similar problem, but I'm not really redefining it. > > My base routes.py has default_application set to 'my_app' (and nothing > set for default_controller or default_function). In the routes.py > file for my 'my_app' I have the following set: > > default_controller = 'default' # ordinarily set in app-specific > routes.py > default_function = 'search' # ordinarily set in app-specific > routes.py > > When I visit http://domain.com/ I receive the 'invalid function' page > instead of rewriting to http://domain.com/my_app/default/search/. I'm > debugging now and will post back when I learn more.
You'll need to define default_application in the app-specific routes file. I know that doesn't make a lot of sense; I'll look at changing that so that it shows up as the current app by default. Let me know if that works.