Reputation: 21
I'm learning python, I'm reading a book called python crash course and I'm stuck somewhere, it gives this error: ModuleNotFoundError: No module named 'learning_logs/urls'
this is my main url file
and in the learning_log/url I have the following:
I saw many people complaining about the problem but I couldn't find a solution!
Upvotes: 0
Views: 438
Reputation: 2182
It should be path('', include('learning_logs.urls'))
with a .
not a /
Upvotes: 1