Hello, I have a class called home: class home(webapp.RequestHandler):
with a get method: def get(self,userId, itemId): I call it with the following URL Handler: (r'/(.*)/(.*)', home), Problem is, I also want to be able to use home for not just '/userId/ itemId/' - I want to be able to use it for just '/' or '/userId/', but this currently will not work because the get method is defined with two variable inputs. Is it possible to do what I'm suggesting with some kind of default userId and itemId setting?That is something like: def get (self,userId=0, itemId=0): Thanks a million! Larkin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---