Hi jago,

The WSGIApplication supports regular expressions in the app_binding.
You should be able to get the desired behavior with:

apps_binding.append(('/debug.*',    Debug))

Happy coding,

Jeff

On Nov 11, 4:12 pm, theo <[EMAIL PROTECTED]> wrote:
> I use django-helper, so this may or may not be relevant to you.  The
> URL Dispatcher in Django matches regular expressions, so something
> like ^/debug/.*$ should do the trick.
>
> On Nov 11, 1:57 pm, jago <[EMAIL PROTECTED]> wrote:
>
> > Can I define the apps_binding in such a way that all GETs to
>
> > /debug
> > /debug/faq
> > /debug/compiler
> > /debug/compiler/faq
>
> > apps_binding.append(('/debug',    Debug))
> > application = webapp.WSGIApplication(apps_binding, debug=True)
>
> > are forwarded to the 'Debug' class ?
>
> > I guess I could also hack around in app.yaml. Still I would like not
> > to do this but rather set it up in the python file.
--~--~---------~--~----~------------~-------~--~----~
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