Answer the question
In order to leave comments, you need to log in
Why can't django find the module?
I wrote in the urls.py file
from django.urls import path, include
urlpatterns = [
path('articles/', include('articles.urls')),
path('admin/', admin.site.urls),
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name = "index")
]
print(include('articles.urls'))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question