Python - How to import 'views' -- django

Import views

To import views, Add the following line to the top of your code.

from django.contrib.sitemaps import views

 

For more information about views:
django views