from django.conf.urls import url, include
from rest_framework import routers
from api import views

router = routers.DefaultRouter()
router.register(r'users', views.UserViewSet)
router.register(r'groups', views.GroupViewSet)
router.register(r'sms', views.SmsViewSet)
router.register(r'helplineusers', views.HelplineUserViewSet)
router.register(r'helplinecases', views.HelplineCaseViewSet)
router.register(r'caseworkers', views.CaseWorkerViewSet)
router.register(r'casemanagers', views.CaseManagerViewSet)
router.register(r'supervisors', views.SupervisorViewSet)
router.register(r'cdrlist',views.MainCdrViewSet, base_name='MainCdr')

urlpatterns = [
    url(r'^', include(router.urls)),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
]

db4d6d885f20c7d38cd4dd078ffa0d9b12fddb62
<mask token>

<mask token>
router.register('users', views.UserViewSet)
router.register('groups', views.GroupViewSet)
router.register('sms', views.SmsViewSet)
router.register('helplineusers', views.HelplineUserViewSet)
router.register('helplinecases', views.HelplineCaseViewSet)
router.register('caseworkers', views.CaseWorkerViewSet)
router.register('casemanagers', views.CaseManagerViewSet)
router.register('supervisors', views.SupervisorViewSet)
router.register('cdrlist', views.MainCdrViewSet, base_name='MainCdr')
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('users', views.UserViewSet)
router.register('groups', views.GroupViewSet)
router.register('sms', views.SmsViewSet)
router.register('helplineusers', views.HelplineUserViewSet)
router.register('helplinecases', views.HelplineCaseViewSet)
router.register('caseworkers', views.CaseWorkerViewSet)
router.register('casemanagers', views.CaseManagerViewSet)
router.register('supervisors', views.SupervisorViewSet)
router.register('cdrlist', views.MainCdrViewSet, base_name='MainCdr')
urlpatterns = [url('^', include(router.urls)), url('^api-auth/', include(
    'rest_framework.urls', namespace='rest_framework'))]

from django.conf.urls import url, include
from rest_framework import routers
from api import views
router = routers.DefaultRouter()
router.register('users', views.UserViewSet)
router.register('groups', views.GroupViewSet)
router.register('sms', views.SmsViewSet)
router.register('helplineusers', views.HelplineUserViewSet)
router.register('helplinecases', views.HelplineCaseViewSet)
router.register('caseworkers', views.CaseWorkerViewSet)
router.register('casemanagers', views.CaseManagerViewSet)
router.register('supervisors', views.SupervisorViewSet)
router.register('cdrlist', views.MainCdrViewSet, base_name='MainCdr')
urlpatterns = [url('^', include(router.urls)), url('^api-auth/', include(
    'rest_framework.urls', namespace='rest_framework'))]

from django.conf.urls import url, include
from rest_framework import routers
from api import views

router = routers.DefaultRouter()
router.register(r'users', views.UserViewSet)
router.register(r'groups', views.GroupViewSet)
router.register(r'sms', views.SmsViewSet)
router.register(r'helplineusers', views.HelplineUserViewSet)
router.register(r'helplinecases', views.HelplineCaseViewSet)
router.register(r'caseworkers', views.CaseWorkerViewSet)
router.register(r'casemanagers', views.CaseManagerViewSet)
router.register(r'supervisors', views.SupervisorViewSet)
router.register(r'cdrlist',views.MainCdrViewSet, base_name='MainCdr')

urlpatterns = [
    url(r'^', include(router.urls)),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
]
