update view, show location info

This commit is contained in:
2017-02-01 18:57:29 +01:00
parent 48a912f04b
commit 90974ea783
6 changed files with 86 additions and 10353 deletions

View File

@@ -9,7 +9,8 @@ router.register(r'tables', views.TableViewSet)
router.register(r'location_data', views.LocationDataViewSet)
urlpatterns = [
url(r'^$', views.IndexView.as_view(), name='index'),
url(r'^$', views.index, name='index'),
#url(r'^$', views.IndexView.as_view(), name='index'),
url(r'^(?P<pk>[0-9]+)/$', views.LocationDataDetailView.as_view(), name='detail'),
url(r'api/v1/', include(router.urls)),
]