When i want to save this django file:
from django.urls import path
from . import views
urlpatterns = [
path('index/', views.index, name='main-view')
]
I get an error :
"ImportError: attempted relative import with no known parent package"
What should I do with it?