Skip to content

Commit

Permalink
fixes to urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mtford90 committed Jun 26, 2014
1 parent 792ac04 commit dc90529
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions silk/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@


urlpatterns = patterns('silk.views',
url(r'^/$', SummaryView.as_view(), name='summary'),
url(r'^/requests/$', RequestsView.as_view(), name='requests'),
url(r'^/request/(?P<request_id>[0-9]+)/$', RequestView.as_view(), name='request_detail'),
url(r'^/request/(?P<request_id>[0-9]+)/sql/$', SQLView.as_view(), name='request_sql'),
url(r'^/request/(?P<request_id>[0-9]+)/sql/(?P<sql_id>[0-9]+)/$', SQLDetailView.as_view(), name='request_sql_detail'),
url(r'^/request/(?P<request_id>[0-9]+)/raw/$', Raw.as_view(), name='raw'),
url(r'^/request/(?P<request_id>[0-9]+)/profiling/$', ProfilingView.as_view(), name='request_profiling'),
url(r'^/request/(?P<request_id>[0-9]+)/profile/(?P<profile_id>[0-9]+)/$', ProfilingDetailView.as_view(), name='request_profile_detail'),
url(r'^/request/(?P<request_id>[0-9]+)/profile/(?P<profile_id>[0-9]+)/sql/$', SQLView.as_view(), name='request_and_profile_sql'),
url(r'^/request/(?P<request_id>[0-9]+)/profile/(?P<profile_id>[0-9]+)/sql/(?P<sql_id>[0-9]+)/$', SQLDetailView.as_view(), name='request_and_profile_sql_detail'),
url(r'^/profile/(?P<profile_id>[0-9]+)/$', ProfilingDetailView.as_view(), name='profile_detail'),
url(r'^/profile/(?P<profile_id>[0-9]+)/sql/$', SQLView.as_view(), name='profile_sql'),
url(r'^/profile/(?P<profile_id>[0-9]+)/sql/(?P<sql_id>[0-9]+)/$', SQLDetailView.as_view(), name='profile_sql_detail'),
url(r'^/profiling/$', ProfilingView.as_view(), name='profiling'))
url(r'^$', SummaryView.as_view(), name='summary'),
url(r'^requests/$', RequestsView.as_view(), name='requests'),
url(r'^request/(?P<request_id>[0-9]+)/$', RequestView.as_view(), name='request_detail'),
url(r'^request/(?P<request_id>[0-9]+)/sql/$', SQLView.as_view(), name='request_sql'),
url(r'^request/(?P<request_id>[0-9]+)/sql/(?P<sql_id>[0-9]+)/$', SQLDetailView.as_view(), name='request_sql_detail'),
url(r'^request/(?P<request_id>[0-9]+)/raw/$', Raw.as_view(), name='raw'),
url(r'^request/(?P<request_id>[0-9]+)/profiling/$', ProfilingView.as_view(), name='request_profiling'),
url(r'^request/(?P<request_id>[0-9]+)/profile/(?P<profile_id>[0-9]+)/$', ProfilingDetailView.as_view(), name='request_profile_detail'),
url(r'^request/(?P<request_id>[0-9]+)/profile/(?P<profile_id>[0-9]+)/sql/$', SQLView.as_view(), name='request_and_profile_sql'),
url(r'^request/(?P<request_id>[0-9]+)/profile/(?P<profile_id>[0-9]+)/sql/(?P<sql_id>[0-9]+)/$', SQLDetailView.as_view(), name='request_and_profile_sql_detail'),
url(r'^profile/(?P<profile_id>[0-9]+)/$', ProfilingDetailView.as_view(), name='profile_detail'),
url(r'^profile/(?P<profile_id>[0-9]+)/sql/$', SQLView.as_view(), name='profile_sql'),
url(r'^profile/(?P<profile_id>[0-9]+)/sql/(?P<sql_id>[0-9]+)/$', SQLDetailView.as_view(), name='profile_sql_detail'),
url(r'^profiling/$', ProfilingView.as_view(), name='profiling'))


0 comments on commit dc90529

Please sign in to comment.