On Dec 6, 2010, at 9:35 AM, Lorin Rivers wrote:
> 
> We've encountered a bug where our app behaves differently if you access it 
> via /AppName/ than it does if you access it via /AppName/default/index
> 
> What would likely explain that and how should I go about ensuring identical 
> behavior in either case?

Aside from posting your routes.py here and getting feedback, I suggest two 
approaches.

One is to edit the doctest at the end of routes.py to reflect your own routes, 
and add tests as necessary. (To run the doctest, just execute the file: python 
routes.py)

You'll want a doctest for /AppName/ and another for /AppName/default/index, 
with (presumably) identical expected output. If the doctest fails, you'll know 
in advance that your routes.py needs work.


Another approach is to use logging.conf to turn on rewrite logging.

Reply via email to