Use auto generated URLs
Change-Id: Ied55508f0045a1a636c89f89137f397bf3edb282
diff --git a/crashreports/urls.py b/crashreports/urls.py
index a04c80e..d86c976 100644
--- a/crashreports/urls.py
+++ b/crashreports/urls.py
@@ -19,7 +19,7 @@
url(r'^api/v1/devices/(?P<device__uuid>[a-f0-9-]+)/crashreports/' +
'(?P<device_local_id>[0-9]+)/$',
rest_api_crashreports.RetrieveUpdateDestroyView.as_view(),
- name='api_v1_crashreports_by_uuid'),
+ name='api_v1_crashreport_by_uuid'),
# logfiles
url(r'^api/v1/devices/(?P<uuid>[a-f0-9-]+)/crashreports/' +
@@ -43,7 +43,7 @@
name='api_v1_heartbeats_by_uuid'),
url(r'^api/v1/heartbeats/(?P<id>[0-9]+)/$',
rest_api_heartbeats.RetrieveUpdateDestroyView.as_view(),
- name='api_v1_heatbeat'),
+ name='api_v1_heartbeat'),
url(r'^api/v1/devices/(?P<uuid>[a-f0-9-]+)/heartbeats/' +
'(?P<device_local_id>[0-9]+)/$',
rest_api_heartbeats.RetrieveUpdateDestroyView.as_view(),