I have in Django urls these statements: (r'^faq/$', 'MyView.views.url_help_faq'), (r'^faq/(\S*)/(\S*)', 'MyView.views.url_help_faq'),
Which is making possible *MyView.views.url_help_faq* to serve the following requests: http://www.MySite.com/faq http://www.MySite.com/faq/topic0100/faq0100 def url_help_faq(request, topic=None, faq=None): if not topic and not faq: #perform default routine if topic and faq: #perform routine extracting topic0100 and faq0100 return topic, faq How to make this in web2py?