Source

wheezy.web / demos / guestbook / urls.py

Full commit
""" ``urls`` module.
"""

from wheezy.routing import url
from wheezy.web.handlers import file_handler

from views import AddHandler
from views import ListHandler


all_urls = [
    url('', ListHandler, name='list'),
    url('add', AddHandler, name='add'),
    url('static/{path:any}',
        file_handler(root='static/'),
        name='static')
]