from rest_framework import generics
from rest_framework.response import Response
from .serializer import TaskSerializer
from .models import Task


class TaskCreateApi(generics.CreateAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskApi(generics.ListAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskUpdateApi(generics.RetrieveUpdateAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskDeleteApi(generics.DestroyAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer

80c760d502f05ccebfbcf4c158f01443e4a63c67
<mask token>


class TaskApi(generics.ListAPIView):
    <mask token>
    <mask token>


class TaskUpdateApi(generics.RetrieveUpdateAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskDeleteApi(generics.DestroyAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer

<mask token>


class TaskCreateApi(generics.CreateAPIView):
    <mask token>
    <mask token>


class TaskApi(generics.ListAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskUpdateApi(generics.RetrieveUpdateAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskDeleteApi(generics.DestroyAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer

<mask token>


class TaskCreateApi(generics.CreateAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskApi(generics.ListAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskUpdateApi(generics.RetrieveUpdateAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskDeleteApi(generics.DestroyAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer

from rest_framework import generics
from rest_framework.response import Response
from .serializer import TaskSerializer
from .models import Task


class TaskCreateApi(generics.CreateAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskApi(generics.ListAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskUpdateApi(generics.RetrieveUpdateAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer


class TaskDeleteApi(generics.DestroyAPIView):
    queryset = Task.objects.all()
    serializer_class = TaskSerializer
