old_contents: from django.conf.urls import include, url
  from django.views.generic import TemplateView
  
  from rest_framework import routers
  from rest_framework.authtoken import views as authviews
  
  from . import views
  
  # Routers provide an easy way of automatically determining the URL conf.
  router = routers.DefaultRouter()
  router.register(r'users', views.UserViewSet)
  router.register(r'regions', views.RegionViewSet)
  router.register(r'schools', views.SchoolViewSet)
  router.register(r'grades', views.GradeViewSet)
  router.register(r'subjects', views.SubjectViewSet)
  router.register(r'tags', views.TagViewSet)
  router.register(r'levels', views.LevelViewSet)
  # router.register(r'roles', views.RoleViewSet)
  router.register(r'profiles', views.ProfileViewSet)
  router.register(r'teachers', views.TeacherViewSet)
  router.register(r'memberservices', views.MemberserviceViewSet)
  router.register(r'weeklytimeslots', views.WeeklyTimeSlotViewSet)
  router.register(r'parent', views.ParentViewSet)
  
  urlpatterns = [
      url(r'^$', TemplateView.as_view(template_name='app/index.html')),
      url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
      url(r'^api/v1/token-auth/', authviews.obtain_auth_token),
      url(r'^api/v1/policy', views.Policy.as_view(), name='policy'),
      url(r'^api/v1/sms', views.Sms.as_view(), name='sms'),
      url(r'^api/v1/', include(router.urls)),
  ]
  
new_contents: from django.conf.urls import include, url
  from django.views.generic import TemplateView
  
  from rest_framework import routers
  from rest_framework.authtoken import views as authviews
  
  from . import views
  
  # Routers provide an easy way of automatically determining the URL conf.
  router = routers.DefaultRouter()
  router.register(r'users', views.UserViewSet)
  router.register(r'regions', views.RegionViewSet)
  router.register(r'schools', views.SchoolViewSet)
  router.register(r'grades', views.GradeViewSet)
  router.register(r'subjects', views.SubjectViewSet)
  router.register(r'tags', views.TagViewSet)
  router.register(r'levels', views.LevelViewSet)
  # router.register(r'roles', views.RoleViewSet)
  router.register(r'profiles', views.ProfileViewSet)
  router.register(r'teachers', views.TeacherViewSet)
  router.register(r'memberservices', views.MemberserviceViewSet)
  router.register(r'weeklytimeslots', views.WeeklyTimeSlotViewSet)
  router.register(r'parents', views.ParentViewSet)
  
  urlpatterns = [
      url(r'^$', TemplateView.as_view(template_name='app/index.html')),
      url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
      url(r'^api/v1/token-auth/', authviews.obtain_auth_token),
      url(r'^api/v1/policy', views.Policy.as_view(), name='policy'),
      url(r'^api/v1/sms', views.Sms.as_view(), name='sms'),
      url(r'^api/v1/', include(router.urls)),
  ]
  
subject: Fix typo.