from inst.handlers import admin_api
from inst.handlers import api
from inst.handlers import home


urlpatterns = (
    (r'/api/inst/?', api.InstListHandler),

    (r'/p/(?P<filehash>\w+\.jpg|\w+\.jpeg|\w+\.png)/?', home.InstPreviewHandler),
    (r'/s/(?P<symlink>\w+)/?', home.InstSymlinkHandler),

    (r'/api/?', admin_api.HomeHandler),
    (r'/api/login/?', admin_api.LoginHandler),
    (r'/api/logout/?', admin_api.LogoutHandler),
    (r'/api/admin/guest/info/?', admin_api.GuestInfoHandler),

    (r'/api/admin/inst/?', admin_api.InstListHandler),
    (r'/api/admin/inst/(?P<inst_id>[0-9]+)/?', admin_api.InstIdentHandler),
    (r'/api/admin/inst/new/?', admin_api.InstNewHandler),
    (r'/api/admin/inst/(?P<option>show|hidden)/?', admin_api.InstShowHiddenHandler),
)

c5270974a1aec97e78c79321d869a5c2f3fe582a
<mask token>

<mask token>
urlpatterns = ('/api/inst/?', api.InstListHandler), (
    '/p/(?P<filehash>\\w+\\.jpg|\\w+\\.jpeg|\\w+\\.png)/?', home.
    InstPreviewHandler), ('/s/(?P<symlink>\\w+)/?', home.InstSymlinkHandler), (
    '/api/?', admin_api.HomeHandler), ('/api/login/?', admin_api.LoginHandler
    ), ('/api/logout/?', admin_api.LogoutHandler), ('/api/admin/guest/info/?',
    admin_api.GuestInfoHandler), ('/api/admin/inst/?', admin_api.
    InstListHandler), ('/api/admin/inst/(?P<inst_id>[0-9]+)/?', admin_api.
    InstIdentHandler), ('/api/admin/inst/new/?', admin_api.InstNewHandler), (
    '/api/admin/inst/(?P<option>show|hidden)/?', admin_api.
    InstShowHiddenHandler)

from inst.handlers import admin_api
from inst.handlers import api
from inst.handlers import home
urlpatterns = ('/api/inst/?', api.InstListHandler), (
    '/p/(?P<filehash>\\w+\\.jpg|\\w+\\.jpeg|\\w+\\.png)/?', home.
    InstPreviewHandler), ('/s/(?P<symlink>\\w+)/?', home.InstSymlinkHandler), (
    '/api/?', admin_api.HomeHandler), ('/api/login/?', admin_api.LoginHandler
    ), ('/api/logout/?', admin_api.LogoutHandler), ('/api/admin/guest/info/?',
    admin_api.GuestInfoHandler), ('/api/admin/inst/?', admin_api.
    InstListHandler), ('/api/admin/inst/(?P<inst_id>[0-9]+)/?', admin_api.
    InstIdentHandler), ('/api/admin/inst/new/?', admin_api.InstNewHandler), (
    '/api/admin/inst/(?P<option>show|hidden)/?', admin_api.
    InstShowHiddenHandler)

from inst.handlers import admin_api
from inst.handlers import api
from inst.handlers import home


urlpatterns = (
    (r'/api/inst/?', api.InstListHandler),

    (r'/p/(?P<filehash>\w+\.jpg|\w+\.jpeg|\w+\.png)/?', home.InstPreviewHandler),
    (r'/s/(?P<symlink>\w+)/?', home.InstSymlinkHandler),

    (r'/api/?', admin_api.HomeHandler),
    (r'/api/login/?', admin_api.LoginHandler),
    (r'/api/logout/?', admin_api.LogoutHandler),
    (r'/api/admin/guest/info/?', admin_api.GuestInfoHandler),

    (r'/api/admin/inst/?', admin_api.InstListHandler),
    (r'/api/admin/inst/(?P<inst_id>[0-9]+)/?', admin_api.InstIdentHandler),
    (r'/api/admin/inst/new/?', admin_api.InstNewHandler),
    (r'/api/admin/inst/(?P<option>show|hidden)/?', admin_api.InstShowHiddenHandler),
)
