Re: Please help. ImportError with django 3.1

2021-01-05 Thread Steven Mapes
Do you have a function in the hello/views.py? That's the first place to start as the error suggests you do not. On Monday, 4 January 2021 at 14:39:32 UTC joshr...@gmail.com wrote: > hello is ur app name if so > from hello import views > try this > if not be clear what is hello,index > > On

Re: Please help. ImportError with django 3.1

2021-01-04 Thread Mr. X Offencer
why are you using *from hello.views import index* instead of *from . import views* On Mon, Jan 4, 2021 at 6:54 PM Gasar Iyali wrote: > Hi > Please I need your help. > I have just installed django and when I try to run django I get this error > message and nothing comes up in my browser. > This

Re: Please help. ImportError with django 3.1

2021-01-04 Thread Josh Raj
hello is ur app name if so from hello import views try this if not be clear what is hello,index On Mon, Jan 4, 2021 at 4:24 PM Gasar Iyali wrote: > Hi > Please I need your help. > I have just installed django and when I try to run django I get this error > message and nothing comes up in my

Please help. ImportError with django 3.1

2021-01-04 Thread Gasar Iyali
Hi Please I need your help. I have just installed django and when I try to run django I get this error message and nothing comes up in my browser. This is the error message that I get in the command prompt !*<<<(env) C:\Users\Documents\Learn Python\django\my_django_work\my_django_work\urls.py",