[SOLVED] NameError: name ‘playground’ is not defined


This Content is from Stack Overflow. Question asked by Android Bangla

I am beginner. I am trying to learn Django. But I face a problem. I defined app name inside my project file but django did not found it. I am using Atom as a Code Edittor. Please Any one help me..enter image description here
this is my code

File “C:UsersHasanDocumentsDjangoSTOREPRONTSTOREPRONTurls.py”, line 8, in
NameError: name ‘playground’ is not defined


You have to import playground.urls:

import playground.urls

This Question was asked in StackOverflow by Android Bangla and Answered by Lucas Grugru It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?