Groups
Sign in
Groups
webapp2
Conversations
About
Send feedback
Help
regex generic for route
21 views
Skip to first unread message
Raphael Cuba
unread,
May 31, 2013, 12:47:08 PM
5/31/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
How to make a regex generic route in webapp2?
I want to make a request for any url and response with only one RequestHandler.
It's possible?
Thank!
Aaron Sykes
unread,
Jun 1, 2013, 3:59:39 PM
6/1/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
.* should work. It would look something like this:
app = webapp2.WSGIApplication([
...
(r'/.*', Generic),
...
])
Raphael Cuba
unread,
Jun 1, 2013, 7:10:36 PM
6/1/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
I'm try this and don't work :/
Reply all
Reply to author
Forward
0 new messages