add login function
This commit is contained in:
@@ -9,7 +9,7 @@ router.register(r'tables', views.TableViewSet)
|
||||
router.register(r'location_data', views.LocationDataViewSet)
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', views.index, name='index'),
|
||||
url(r'^$', views.index, name='carom_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)),
|
||||
|
||||
Reference in New Issue
Block a user