blob: e121032e4cae318b30a40436ff355a86cb40f9fc [file] [log] [blame]
Dirk Vogtd1345212016-09-14 14:31:45 +02001from django.conf.urls import url, include
Dirk Vogtf130c752016-08-23 14:45:01 +02002from . import views
Dirk Vogtd1345212016-09-14 14:31:45 +02003from rest_framework import routers
4from rest_framework import filters
5
6router = routers.DefaultRouter()
7router.register(r'crashreports', views.CrashreportViewSet)
Dirk Vogtf130c752016-08-23 14:45:01 +02008
9urlpatterns = [
10 url(r'^crashreport/', views.index, name='index'),
Dirk Vogtd1345212016-09-14 14:31:45 +020011 url(r'^crashreports/hiccup_stats/', views.hiccup_stats, name='home'),
12 url(r'^', include(router.urls)),
13]