# import tornado.web
# from model_data_test.settings import *
# from model_data_api.handler.test_handler import *



# class Application(tornado.web.Application):
#     def __init__(self):
#         handlers = []
#         settings = common
#         tornado.web.Application.__init__(self, handlers,**settings)
#
# application = Application()

# def decorator(view):
#     URL = view.URL
#     application.add_handlers('.*$', [(r'%s' % (URL), view)])
#
# @decorator
# class UserstHandler(tornado.web.RequestHandler):
#     URL = '/users'
#     def get(self, *args, **kwargs):
#         self.write("UserstHandler")
#
# @decorator
# class IndexHandler(tornado.web.RequestHandler):
#     URL = '/'
#     def get(self, *args, **kwargs):
#         self.write("IndexHandler")

