Is it possible to add/remove urls from  web.application().mapping
after the app is running?

Heres along the lines of what I tried:

app=web.application()
urls = ("/","")
class changeUser:
    def POST(self):
        global app
        ...
        new_urls = ("/","","/user","user")
        app.mapping = new_urls

if __name__ == "__main__":
    app = web.application(urls,globals())
    app.run()

Any help would be greatly appreciated.

- brendon

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to