summaryrefslogtreecommitdiff
path: root/dashboard
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2015-02-01 10:46:24 +0100
committerJannis Leidel <jannis@leidel.info>2015-02-01 10:46:24 +0100
commit67af59184f4ef982c2d2c635bcaeb96ecc32e32b (patch)
tree73e7789365a326cd5ffd334e7c1ef075ffa45584 /dashboard
parent4f1404dede0c9f1a6b5674ab7d4278c0153bd463 (diff)
Use reversed URL to to have to have a hardcoded URL in the JS.
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard/urls.py b/dashboard/urls.py
index d52e6fda..6b4a6a7f 100644
--- a/dashboard/urls.py
+++ b/dashboard/urls.py
@@ -3,6 +3,7 @@ from django.conf.urls import url
urlpatterns = [
url(r'^$', 'dashboard.views.index', name="dashboard-index"),
+ url(r'^metric/$', 'dashboard.views.index', name="metric-list"),
url(r'^metric/([\w-]+)/$', 'dashboard.views.metric_detail', name="metric-detail"),
url(r'^metric/([\w-]+).json$', 'dashboard.views.metric_json', name="metric-json"),
]