Python - How to import 'TemplateView' -- django
Import TemplateView
To import TemplateView, Add the following line to the top of your code.
from django.views.generic import TemplateView
For more information about TemplateView:
django TemplateView