diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-10-27 16:28:48 +0800 |
---|---|---|
committer | Serena Feng <feng.xiaowei@zte.com.cn> | 2017-10-27 09:00:26 +0000 |
commit | 9db91e3b166f07750a045d5e24f820837f5772b4 (patch) | |
tree | 48afa8a00bdb99cc656fc3ad87bbf006a0288a71 /testapi/opnfv_testapi/tornado_swagger | |
parent | a9da6ed15e08b2797f5c794117327d40b46bceae (diff) |
divide resources into handlers and models
divide resources into handlers&models
put ui handlers into handlers directory
put User into user_models.py
Change-Id: I3d9e260097205213c3ea8d4eac08b9019e017f71
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/tornado_swagger')
-rw-r--r-- | testapi/opnfv_testapi/tornado_swagger/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/tornado_swagger/handlers.py b/testapi/opnfv_testapi/tornado_swagger/handlers.py index e39a9f6..a04de07 100644 --- a/testapi/opnfv_testapi/tornado_swagger/handlers.py +++ b/testapi/opnfv_testapi/tornado_swagger/handlers.py @@ -26,7 +26,7 @@ def swagger_handlers(): settings.docs_settings, name=settings.API_DOCS_NAME), tornado.web.URLSpec( - _path(r'resources.json$'), + _path(r'models.json$'), views.SwaggerResourcesHandler, settings.docs_settings, name=settings.RESOURCE_LISTING_NAME), |