On Wed, Jul 14, 2010 at 12:08 AM, Guyren G Howe <[email protected]> wrote: > I'm trying to sort out why my routing.py isn't working as advertised. > > Turns out, I can comment out everything between map.minimization = False, and > return map, and *some* of my routes (/pwd_reset, /admin) still work. Are > these maybe default names defined somewhere outside my project, or implicitly > defined inside my project somehow, or is the route getting cached somewhere? > This has me completely befuddled.
As I said earlier, the fact that some of the routes work but others don't, and the fact that some of them may be defined elsewhere, makes me wonder if this function is being called at all. You can put a "raise RuntimeError" in it and see if the program crashes. (Note: if it does crash, it'll be outside a request, so you won't get the interactive traceback, instead a traceback on the console.) -- Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
