from jwa import settings, handlers

routes = [
    ('/', handlers.HomeHandler),
    ('/porfolio', handlers.GalleryHandler),
    ('/picture', handlers.PictureHandler),
    ('/picture_edit', handlers.PictureEditHandler),
    ('/gallery_edit', handlers.GalleryEditHandler),
    ('/delete', handlers.DeleteHandler),
    ('/home', handlers.HomeHandler),
    ('/event', handlers.EventHandler),
    ('/contact', handlers.ContactHandler),
    ('/price', handlers.PriceHandler),
    ('/commitionwork', handlers.CommitionworkHandler),
    ('/admin', handlers.LoginHandler),
    ('/upload', handlers.UploadHandler),
    ('/serve/([^/]+)?', handlers.ServeHandler),
    ('/ckbrowse', handlers.CKBrowseHandler),
    ('/ckupload', handlers.CKUploadHandler),
]

if settings.DEBUG:
    import gaeunit
    routes += gaeunit.routes

