def urls(): urls = [ "/api/v1", api_urls.app(), "/api", api_urls.app(), "", webui_urls.app() ] if settings.AUTH['AUTHENTICATION_METHOD'] == 'fake': urls = ["/keystone", fake_keystone_urls.app()] + urls return urls
def urls(): urls = [ #对于v1及/api的均由api_urls.app来处理 "/api/v1", api_urls.app(), "/api", api_urls.app(), "", webui_urls.app() ] #fake情况下,/keystone的地址自已处理 if settings.AUTH['AUTHENTICATION_METHOD'] == 'fake': urls = ["/keystone", fake_keystone_urls.app()] + urls return urls
def urls(): return ( "/api/v1", api_urls.app(), "/api", api_urls.app(), "", webui_urls.app() )