<reponame>bubaley/air-drf-relation<filename>task/urls.py
from rest_framework import routers
from .views import TaskViewSet

router = routers.SimpleRouter()
router.register('tasks', TaskViewSet)
urlpatterns = router.urls

from rest_framework import routers
from .views import TaskViewSet

router = routers.SimpleRouter()
router.register('tasks', TaskViewSet)
urlpatterns = router.urls