Source

wheezy.routing / demos / time / urls.py

Full commit

""" ``urls`` module.
"""

from wheezy.routing import url
from views import welcome, server_time, not_found

server_urls = [
    url('time', server_time, name='now')
]

all_urls = [
    ('', welcome),
    ('server/', server_urls)
]

all_urls += [
    url('{url:any}', not_found)
]