tech vanguard
tech vanguard

Reputation: 914

no name "urls" in module django

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'),
]

Upvotes: 0

Views: 102

Answers (0)

Related Questions