Reputation: 35
I have Django code to backend. But it's not starting because of this error ModuleNotFoundError: No module named 'articles'
StackOverflow people says that you don't have this folder or wrote it wrong in 2 urls.py documents. Here is the structure of my 1st project. Can't you fuys exlain me why this isn;t working?
Upvotes: 0
Views: 1407
Reputation: 11
Also be sure to have your app in the INSTALLED_APPS list on settings.py once you have moved it to the right location.
Upvotes: 1
Reputation: 334
You have placed the files in the wrong location, your articles folder should be outside the sub myfirst folder and you should not have an app folder.
Upvotes: 1