Importar apiview
from rest_framework.views import APIView
Amused Ant
from rest_framework.views import APIView