# Path: handlers/base.py
# TEMPLATE_PATH = [join(_env.PREFIX, 'templates')]
# MAKO_LOOK_UP = mako.lookup.TemplateLookup(
#     directories=TEMPLATE_PATH,
#     input_encoding='utf-8',
#     output_encoding='utf-8',
#     filesystem_checks=False,
#     encoding_errors='replace',
#     module_directory=join(_env.PREFIX, '_templates'),
# )
# class BaseHandler(RequestHandler):
# class PageNotFoundHandler(BaseHandler):
#     def initialize(self, lookup=MAKO_LOOK_UP):
#     def render_string(self, filename, **kwargs):
#     def render(self, filename, **kwargs):
#     def write_json(self, data_dict):
#     def write_error(self, status_code, **kwargs):
#     def get(self):
# 
# Path: handlers/site.py
# class SiteHandler(BaseHandler):
# class SiteTagHandler(BaseHandler):
#     def initialize(self, class_name):
#     def get(self):
#     def get(self, class_name):
# 
# Path: handlers/user.py
# class UserBaseHandler(BaseHandler):
# class UserMainHandler(UserBaseHandler):
# class UserRegisterHandler(UserBaseHandler):
# class UserLoginHandler(UserBaseHandler):
# class UserLogoutHandler(UserBaseHandler):
#     def get_current_user(self):
#     def get(self):
#     def get(self):
#     def post(self):
#     def get(self):
#     def post(self):
#     def get(self):
# 
# Path: handlers/show.py
# KEY = 'MOBILE'
# SCALE = Img.SCALE
# class ShowHandler(BaseHandler):
# class MobileShowHandler(BaseHandler):
#     def _redis(self):
#     def get(self, *args):
#     def _redis(self):
#     def get(self, *args):
# 
# Path: handlers/mobile.py
# MOBILE_PAGE = Img.MOBILE_PAGE
# class SiteHandler(BaseHandler):
# class SiteTagHandler(BaseHandler):
#     def initialize(self, class_name):
#     def get(self):
#     def get(self, class_name):


from handlers import (
    base, admin, site, user, show,
    leancloud_handler, mobile,
)
from tornado.web import url
    url(r'/girls/?', site.SiteHandler, dict(class_name='Girls')),
    url(r'/girls/(\w+-\w+)/?', site.SiteTagHandler),

    # site gifs
    url(r'/gifs/?', site.SiteHandler, dict(class_name='Gifs')),
    url(r'/gifs/(\w+-\w+)/?', site.SiteTagHandler),

    # site animals
    url(r'/animals/?', site.SiteHandler, dict(class_name='Animals')),
    url(r'/animals/(\w+-\w+)/?', site.SiteTagHandler),

    # site nature
    url(r'/nature/?', site.SiteHandler, dict(class_name='Nature')),


    # for mobile
    url(r'/mobile/?', mobile.SiteHandler, dict(class_name='Girls')),

    url(r'/mobile/boys/?', mobile.SiteHandler, dict(class_name='Boys')),
    url(r'/mobile/boys/(\w+-\w+)/?', mobile.SiteTagHandler),

    # site girls
    url(r'/mobile/girls/?', mobile.SiteHandler, dict(class_name='Girls')),
    url(r'/mobile/girls/(\w+-\w+)/?', mobile.SiteTagHandler),

    # site gifs
    url(r'/mobile/gifs/?', mobile.SiteHandler, dict(class_name='Gifs')),
    url(r'/mobile/gifs/(\w+-\w+)/?', mobile.SiteTagHandler),

    # site animals

# Path: handlers/base.py
# TEMPLATE_PATH = [join(_env.PREFIX, 'templates')]
# MAKO_LOOK_UP = mako.lookup.TemplateLookup(
#     directories=TEMPLATE_PATH,
#     input_encoding='utf-8',
#     output_encoding='utf-8',
#     filesystem_checks=False,
#     encoding_errors='replace',
#     module_directory=join(_env.PREFIX, '_templates'),
# )
# class BaseHandler(RequestHandler):
# class PageNotFoundHandler(BaseHandler):
#     def initialize(self, lookup=MAKO_LOOK_UP):
#     def render_string(self, filename, **kwargs):
#     def render(self, filename, **kwargs):
#     def write_json(self, data_dict):
#     def write_error(self, status_code, **kwargs):
#     def get(self):
# 
# Path: handlers/site.py
# class SiteHandler(BaseHandler):
# class SiteTagHandler(BaseHandler):
#     def initialize(self, class_name):
#     def get(self):
#     def get(self, class_name):
# 
# Path: handlers/user.py
# class UserBaseHandler(BaseHandler):
# class UserMainHandler(UserBaseHandler):
# class UserRegisterHandler(UserBaseHandler):
# class UserLoginHandler(UserBaseHandler):
# class UserLogoutHandler(UserBaseHandler):
#     def get_current_user(self):
#     def get(self):
#     def get(self):
#     def post(self):
#     def get(self):
#     def post(self):
#     def get(self):
# 
# Path: handlers/show.py
# KEY = 'MOBILE'
# SCALE = Img.SCALE
# class ShowHandler(BaseHandler):
# class MobileShowHandler(BaseHandler):
#     def _redis(self):
#     def get(self, *args):
#     def _redis(self):
#     def get(self, *args):
# 
# Path: handlers/mobile.py
# MOBILE_PAGE = Img.MOBILE_PAGE
# class SiteHandler(BaseHandler):
# class SiteTagHandler(BaseHandler):
#     def initialize(self, class_name):
#     def get(self):
#     def get(self, class_name):


# Path: urls.py
from handlers import (
    base, admin, site, user, show,
    leancloud_handler, mobile,
)
from tornado.web import url

    url(r'/girls/?', site.SiteHandler, dict(class_name='Girls')),
    url(r'/girls/(\w+-\w+)/?', site.SiteTagHandler),

    # site gifs
    url(r'/gifs/?', site.SiteHandler, dict(class_name='Gifs')),
    url(r'/gifs/(\w+-\w+)/?', site.SiteTagHandler),

    # site animals
    url(r'/animals/?', site.SiteHandler, dict(class_name='Animals')),
    url(r'/animals/(\w+-\w+)/?', site.SiteTagHandler),

    # site nature
    url(r'/nature/?', site.SiteHandler, dict(class_name='Nature')),


    # for mobile
    url(r'/mobile/?', mobile.SiteHandler, dict(class_name='Girls')),

    url(r'/mobile/boys/?', mobile.SiteHandler, dict(class_name='Boys')),
    url(r'/mobile/boys/(\w+-\w+)/?', mobile.SiteTagHandler),

    # site girls
    url(r'/mobile/girls/?', mobile.SiteHandler, dict(class_name='Girls')),
    url(r'/mobile/girls/(\w+-\w+)/?', mobile.SiteTagHandler),

    # site gifs
    url(r'/mobile/gifs/?', mobile.SiteHandler, dict(class_name='Gifs')),
    url(r'/mobile/gifs/(\w+-\w+)/?', mobile.SiteTagHandler),

    # site animals

    url(r'/mobile/animals/?', mobile.SiteHandler, dict(class_name='Animals')),