no name "urls" in module django

104 views Asked by At

I am unable to import from the django.urls package in Django 2.1.7 Really would like a solution to this problem. Can anyone help me with this issue?

from django.urls import path

from . import views

urlpatterns = [
    path(' ',views.index, name ='index'),
]
0

There are 0 answers