Import APIView

from rest_framework.views import APIView
Amused Ant