from django.urls import path, include
from rest_framework import routers
from api.views import TaskViewSet, TagViewSet


router = routers.DefaultRouter()
router.register('tasks', TaskViewSet)
router.register('tags', TagViewSet)

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

cb2706a0315e7ec30eba89c43bec964aa295857f
<mask token>

<mask token>
router.register('tasks', TaskViewSet)
router.register('tags', TagViewSet)
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('tasks', TaskViewSet)
router.register('tags', TagViewSet)
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from rest_framework import routers
from api.views import TaskViewSet, TagViewSet
router = routers.DefaultRouter()
router.register('tasks', TaskViewSet)
router.register('tags', TagViewSet)
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from rest_framework import routers
from api.views import TaskViewSet, TagViewSet


router = routers.DefaultRouter()
router.register('tasks', TaskViewSet)
router.register('tags', TagViewSet)

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