try:
handlers:
- url: /*
- script: profiles.py
profiles.py
def ProfileHander(webapp.RequestHandler):
def get(self,user):
//code with user RegEx group pased in
application = webapp.WSGIApplication( [ (r'/profile/(.*)/',
ProfileHandler) ],debug=True)
On Sat, Sep 6, 2008 at 7:24
Kevin wrote:
> handlers:
> - url: /profiles
>script: profiles.py
...
> I've tried changing /profile to /profile(.*) but that doesn't work.
Try changing "/profile" to "/profiles".
Ross Ridge
--~--~-~--~~~---~--~~
You received this messag
You'll need to handle the regex in main() to route the URL and also
the proper parameters of the regex results in your handler. This is
exactly how I handle tags in Bloog where URLs are http://.../tag/someTag.
Here's the code that pertains to your question:
1) The regex for URL routing:
Line 54
I want to thank everyone for their answers. I was able to come up with
a good solution based on your feedback!
Kev
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, sen