views.py
from django.shortcuts import render from rest_framework import viewsets from django.http import HttpResponse from .serializers import TodoSerializer