from django.urls import path
from .views import  TaskAPIView, TaskDetails, GenericAPIView
# task_list, task_detail,
urlpatterns = [
    
    # path('task/',task_list),
    path('task/', TaskAPIView.as_view()),
    # path('task/<int:id>',task_detail),
    path('detail/<int:id>/', TaskDetails.as_view()),
    path('generic/task/<int:id>/', GenericAPIView.as_view()),
]


69639c6d585bfa1edcbe5e7fbc5fc281c5880b10
<mask token>

<mask token>
urlpatterns = [path('task/', TaskAPIView.as_view()), path(
    'detail/<int:id>/', TaskDetails.as_view()), path(
    'generic/task/<int:id>/', GenericAPIView.as_view())]

from django.urls import path
from .views import TaskAPIView, TaskDetails, GenericAPIView
urlpatterns = [path('task/', TaskAPIView.as_view()), path(
    'detail/<int:id>/', TaskDetails.as_view()), path(
    'generic/task/<int:id>/', GenericAPIView.as_view())]

from django.urls import path
from .views import  TaskAPIView, TaskDetails, GenericAPIView
# task_list, task_detail,
urlpatterns = [
    
    # path('task/',task_list),
    path('task/', TaskAPIView.as_view()),
    # path('task/<int:id>',task_detail),
    path('detail/<int:id>/', TaskDetails.as_view()),
    path('generic/task/<int:id>/', GenericAPIView.as_view()),
]

