On Apr 25, 2007, at 1:02 PM, Jose Galvez wrote: > Setting map._created_regs = False to false in the routing.py file > did nothing, however if I add always_scan=True to the map creation > in routing.py that seems to do the trick. Is this an ok way to do > this, or did I set map._created_regs in the wrong place?
Setting it in the routing.py file won't help, that file is run a single time at loadup, and is set to True once it does the initial scan. You need to run the code I mentioned when the controller is updated, to get the current mapper and tell it to rescan the directory on the next URL match. - Ben --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
