1from django.conf import urls 2import common 3from autotest_lib.frontend import settings, urls_common 4 5urlpatterns, debug_patterns = ( 6 urls_common.generate_patterns('frontend.tko', 'TkoClient')) 7 8urlpatterns += urls.patterns( 9 '', 10 (r'^(?:|noauth/)jsonp_rpc/', 'frontend.tko.views.handle_jsonp_rpc'), 11 (r'^(?:|noauth/)csv/', 'frontend.tko.views.handle_csv'), 12 (r'^(?:|noauth/)plot/', 'frontend.tko.views.handle_plot')) 13 14 15if settings.DEBUG: 16 urlpatterns += debug_patterns 17