Answer the question
In order to leave comments, you need to log in
How to process urls in djnago?
I'm learning django gj from Matiz's book. I am doing the task. I adjusted the code to the current version, but..
When executing this code in the urls.py file:
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('', include(learning_logs.urls), namespace='learning_logs'),
]
PwerShell gives the following:
name 'learning_logs' is not defined
How to solve this and why is this happening?
Answer the question
In order to leave comments, you need to log in
They explicitly write to you that learning_logs is not defined, where did you get it from?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question