from django.conf.urls import url
from rest_framework.routers import SimpleRouter

from app import views

router = SimpleRouter()

router.register(r'^student', views.StudentView)

urlpatterns = [
    url(r'^index/', views.index, name='index'),
    url(r'^add/', views.add, name='add'),

]
urlpatterns += router.urls

b17fdd72bd3f10711eb5bf5acbd9b27d2a6bb070
<mask token>

<mask token>
router.register('^student', views.StudentView)
<mask token>
urlpatterns += router.urls

<mask token>
router = SimpleRouter()
router.register('^student', views.StudentView)
urlpatterns = [url('^index/', views.index, name='index'), url('^add/',
    views.add, name='add')]
urlpatterns += router.urls

from django.conf.urls import url
from rest_framework.routers import SimpleRouter
from app import views
router = SimpleRouter()
router.register('^student', views.StudentView)
urlpatterns = [url('^index/', views.index, name='index'), url('^add/',
    views.add, name='add')]
urlpatterns += router.urls

from django.conf.urls import url
from rest_framework.routers import SimpleRouter

from app import views

router = SimpleRouter()

router.register(r'^student', views.StudentView)

urlpatterns = [
    url(r'^index/', views.index, name='index'),
    url(r'^add/', views.add, name='add'),

]
urlpatterns += router.urls
