In your main/urls.py
file, you have the line import views
.
If you’re looking to import from the main
app, it would be from main import views
, or possibly import .views
.
In your main/urls.py
file, you have the line import views
.
If you’re looking to import from the main
app, it would be from main import views
, or possibly import .views
.