Hello,

is it possible to dynamically add urls/methods through the
WSGIApplication object?

Right now I have all the URLs and methods hardcoded in my main()

def main():
        application = webapp.WSGIApplication([('/', Page_Main),
                                                                                
('/pageone', Page_One),
                                                                                
('/pagetwo', Page_Two),
                                                                                
('/pagethree', Page_Three)],
                                                                                
debug=True)

Let's say I have a table that contains URL/HTML code pairs... is it
possible to do something like this?

def main():
        application = webapp.WSGIApplication(debug=True)

       #Load URLs from table

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to