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.

OK, making the current app the default turned out to be pretty straightforward, 
and even if that's not the problem you're having, I think it makes sense to do. 
Here's the new rewrite.py:

http://web.me.com/jlundell/filechute/rewrite.zip

Reply via email to