Allow kpi to take alphanumeric tenant id

This commit is contained in:
Andrew Melton 2013-06-27 13:53:32 -04:00
parent 08c8d7ee4b
commit 42abd77660

View File

@ -20,7 +20,7 @@ urlpatterns = patterns('',
url(r'stacky/watch/(?P<deployment_id>\d+)/$',
'stacktach.stacky_server.do_watch'),
url(r'stacky/kpi/$', 'stacktach.stacky_server.do_kpi'),
url(r'stacky/kpi/(?P<tenant_id>\d+)/$', 'stacktach.stacky_server.do_kpi'),
url(r'stacky/kpi/(?P<tenant_id>\w+)/$', 'stacktach.stacky_server.do_kpi'),
url(r'stacky/usage/launches/$',
'stacktach.stacky_server.do_list_usage_launches'),
url(r'stacky/usage/deletes/$',