<reponame>samarmohan/tutoring-api
from django.urls import include, path
from rest_framework import routers

from .api import TutorAPI, TuteeAPI

router = routers.DefaultRouter()
router.register(r'tutors', TutorAPI)
router.register(r'tutees', TuteeAPI)

urlpatterns = [
    path('', include(router.urls)),
]
from django.urls import include, path
from rest_framework import routers

from .api import TutorAPI, TuteeAPI

router = routers.DefaultRouter()
router.register(r'tutors', TutorAPI)
router.register(r'tutees', TuteeAPI)

urlpatterns = [
    path('', include(router.urls)),
]