from django.shortcuts import render # Create your views here. from django.http import HttpResponse def index(request): return HttpResponse("hello django") from rest_framework_bulk import BulkModelViewSet from api.task.models import Task from api.task.serializers import TaskSerializer class TaskView(BulkModelViewSet): queryset = Task.objects.all() serializer_class = TaskSerializer