I see that many are not getting "hello world" displayed even though their codes are correct. To solve this problem simply save all the codes before running the server and every thing will go smoothly.......Happy learning!!!!!!
Who are having error "no module named django" 1. Control +swift+p 2.go and search *select interpreter* 3. Select python interpreter with ur virtualenv... Solved
I tried this like about 12 or 13 times each time I made one mistake or another at the end on running server...other videos only taught and you implemented along...loved it dunno how to thank you...so much
Sir can you explain on terminal why it creating 2 terminal one is cmd another is python I'm getting error and want to know how terminal exactly working. Sir please make a video on it since one week I'm getting this problem please help me sir 🙏🙏
try to make your own project of Hello world that help you alot , i changed name name and started again without guideline ,now i understand little bit more
For those people who followed the same code but Hello World doesn't show up, go to the settings.py in your project. Then, scroll down to the list ALLOWED_HOSTS. Then, add 127.0.0.1:8000 to the list. This should work.
You're my inspiration 😁 bro... I will also start to do tutorials on django...... Today i had updated module 1 for python beginners... Asap i will update some more modules.... Glad to.see you again
Hello sir, i'm just starting to learn django and I found your video helpful I already take all the steps you did in the video but i have got an error (No module named 'calc') in the python terminal. I search hours for solution such as using absolute and relative import for calc.urls but still get an error (attempted relative import with no known parent package) The other thing is I cannot use [from . import views] in your calc.urls file but instead i use [import views] and it does'nt occur an (attempted relative import with no known parent package) error Can you give me some solution for this? or maybe i have some configuration that i'm still not enable it? I'm using python 3.10.4
File "urls.py", line 2, in from . import views ImportError: attempted relative import with no known parent package How to solve this error? Kindly help.
raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import
M getting this error: django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
I am using visual studio code and I create project and app and when I run server, django is work successfully but app is not running, "Hello world " msg of app is not display. please help me.
i'm getting this error - "raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) django.core.exceptions.ImproperlyConfigured: and 'hello.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import. Please help me !!
ImproperlyConfigured(msg.format(name=self.urlconf_name)) django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
Sir, you are using Visual Studio Code but you are saying it as only "Visual Studio" and I think Visual Studio Code and Visual Studio are different things , right ? Visual Studio is an IDE and Visual Studio Code is a Source Code Editor ... please reply if you will read this comment
if you get an page not found error then open setting.py in telusko(your project name) then in INSTALLED APP write 'calc',(your app name) at the last then run it will work
After putting path('',include('calc.urls')) in urls.py . my server stoped and gives an error raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import. plz someone help
Once I edit my urls and views folder to give "hello world" response it doesn't, rather I still get the django home page. I've tried to troubleshoot this for the past two weeks going my code line by line and restarting the projects severally but I seem to keep having this problem. Any suggestions for help?
Hello sir ,i am from nepal and when i try to run the server it shows the following errors,how can i correct this,and hats off sir for the way you explained the things is totally good and appreciating messages.extend(check_resolver(pattern)) File "C:\Users\Winner\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver return check_method() File "C:\Users\Winner\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\urls esolvers.py", line 399, in check for pattern in self.url_patterns: File "C:\Users\Winner\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\utils\functional.py", line 80, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "C:\Users\Winner\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\urls esolvers.py", line 593, in url_patterns raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
hi sir, i am not getting hello world on my page, please suggest me the solution for it quickly,because i cannot move ahead with the video without getting the output
django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
how can create more than one python prompt in terminal ,pls guide me and when i run server it shows need to activate migrate. how could i solve it.Thanks.
I'm still getting the output "The install worked successfully! Congratulations!" but not the message to be displayed "Hello World" . Could someone guide me ?
add 'workon' command to test , then download django using command 'pip install django' and perform any action like creating app , run server etc. that's what worked for me!
@@PYQ_SSC make sure that your file is in the same directory as that of views is. Also, can you please elaborate more on your issue? Please provide any gist or a pastebin link.
You're rushing man, let the video reach the ten minute mark. After the necessary changes, when I try and run the server there are a lot of errors. Frozenlib, module not found, etc etc.
Traceback (most recent call last): File "manage.py", line 21, in main() File "manage.py", line 17, in main execute_from_command_line(sys.argv) this error
what should be done if there is calc module error appear. and like you I didn't get these 3 terminal cmd, python and python. csn you please explain it.
i'm still getting the output "The install worked successfully! Congratulations!" but shows error in calc.urls as "unresolved reference" and the message is not displayed "Hello World" . Could someone guide me ?
Thanks Sir , You are just awesome b/c You don't hide Your Errors while Coding and recordings. We Learn Much from these Errors.
Love that you just get down to business! You don't ask all the BS to smash the like button, plug your course etc.
Lovely! Looked into many people on YT, no one gives explanation why this has to be done, even in 2021 (2yr later, since creation). This is supercool!
I see that many are not getting "hello world" displayed even though their codes are correct. To solve this problem simply save all the codes before
running the server and every thing will go smoothly.......Happy learning!!!!!!
Thanks bro.. 🥵🥵🥵iam looking to solve this error for 8 hours. Thankyoh
oh my god, this worked. Now I enabled autosave in visual stdio code
@@shiyasziuz501 but how to save codes ?
Thank you😂😂
Thanks alot
It was really helpful
You are the best online teacher I have ever come across my whole life. Thank you Navin
teachers like you are the real heroes providing the whole series in most easiest way of explaining the concepts.
Thank u so much sir
Who are having error "no module named django"
1. Control +swift+p
2.go and search *select interpreter*
3. Select python interpreter with ur virtualenv... Solved
@Linux Box hHaha no problem... You welcome
@Rajat Katal bro iam having the same problem path(' ', include('myapp.urls'))
No module myapp help
thank you very much it's working for me
thanx alot bro after wasting whole of my day,from here now i get to know that how it should be resolved
I am getting an error(no module named 'calc') please help me to fix it
I tried this like about 12 or 13 times each time I made one mistake or another at the end on running server...other videos only taught and you implemented along...loved it dunno how to thank you...so much
Great - watching from London
Sir can you explain on terminal why it creating 2 terminal one is cmd another is python I'm getting error and want to know how terminal exactly working.
Sir please make a video on it since one week I'm getting this problem please help me sir 🙏🙏
Thank you so much Sir for the time you sacrifice and the knowledge you share for free . I really love the way you explain every single aspect.
Sir when u start projects there was (test) after 3:35 there is (my projects) please can u tell me something about this because i couldn't run my code.
video was good as always...............
butt sir please explain with steps...means after which steps we should follow the another step
try to make your own project of Hello world that help you alot , i changed name name and started again without guideline ,now i understand little bit more
In the calc file in urls make sure to put urlpatterns and not urlPatterns or it will give errors
For those people who followed the same code but Hello World doesn't show up,
go to the settings.py in your project.
Then, scroll down to the list ALLOWED_HOSTS.
Then, add 127.0.0.1:8000 to the list.
This should work.
it is giving syntax error bro
@@tushargoyaliit '127.0.0.1:8000' should work (with apostrophe or double quotes")
it is still not working bro , i have added it to allowed host but still cant get through it
if you have problems with "from . import views
ImportError: attempted relative..." remove the "from ." from from . import views. worked for me
THX
You're my inspiration 😁 bro...
I will also start to do tutorials on django......
Today i had updated module 1 for python beginners...
Asap i will update some more modules....
Glad to.see you again
How (test) is changed to (myproject) suddenly?🤔 3:37
same doubt im having
Sir, Your video entry tone makes me confident.
But it is sounding extra loud
Hey Alien, your explanation is awesome yaar
wdym by alien?
Hello sir, i'm just starting to learn django and I found your video helpful
I already take all the steps you did in the video but i have got an error (No module named 'calc') in the python terminal. I search hours for solution such as using absolute and relative import for calc.urls but still get an error (attempted relative import with no known parent package)
The other thing is I cannot use [from . import views] in your calc.urls file but instead i use [import views] and it does'nt occur an (attempted relative import with no known parent package) error
Can you give me some solution for this? or maybe i have some configuration that i'm still not enable it? I'm using python 3.10.4
File "urls.py", line 2, in
from . import views
ImportError: attempted relative import with no known parent package
How to solve this error? Kindly help.
sir,
i followed u r setps.but the hello world is not showing ..there is non errors in the program.can u help me.
please add more project videos for more experience ..this is good but is for beginners
raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import
Same doubt
@@RajeshKumar-go6st check whether you had mentioned view name
inside path eg: urlpatterns =[
path('',views.home,name='home')
]
hello some error in from . import views error is-ImportError: attempted relative import with no known parent package
I'm also getting the same error
tell me if you got the solution
@@tanvirulislam514 Same here
M getting this error:
django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
I'm also getting the same error
All available on django documentation
but your way and selective topics in whole series are awesome
soo easy for learners to learn
Hello! I followed all the steps you showed, unfortunately the web page is not showing Hello World
what should I do?
same here
Check your port 8000 is free or not
@@moinafsana5945 how to check it is free r not
Same here
I am using visual studio code and I create project and app and when I run server, django is work successfully but app is not running, "Hello world " msg of app is not display. please help me.
how did you resolve this error?
i'm getting this error - "raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
django.core.exceptions.ImproperlyConfigured:
and 'hello.urls' does
not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
Please help me !!
explained really well sir!
Спасибо from Russia
ImproperlyConfigured(msg.format(name=self.urlconf_name))
django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
U r doing great sir.we are supporting u too make more videos to help us☺️
Sir, you are using Visual Studio Code but you are saying it as only "Visual Studio" and I think Visual Studio Code and Visual Studio are different things , right ? Visual Studio is an IDE and Visual Studio Code is a Source Code Editor ... please reply if you will read this comment
Thank you bro
if you get an page not found error then open setting.py in telusko(your project name) then in INSTALLED APP write 'calc',(your app name) at the last
then run it will work
I have done that also...it is still showing the rocket page...bt not the hello world
@@supravatanu7672 did you find solution? am using second week now
Sir please help there is a error modulename eror: no module name calc not included and i tried everything and it doesn't work.
Thanks, sir. Which package did you install for views?
Greatings from Saudi Arabia, and nice work sir.
After putting path('',include('calc.urls')) in urls.py .
my server stoped and gives an error
raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
plz someone help
did you got solution
your explanations are like crystal clear
I enjoyed watcing this video very much. The video is very dynamic and nice to watch.
Once I edit my urls and views folder to give "hello world" response it doesn't, rather I still get the django home page. I've tried to troubleshoot this for the past two weeks going my code line by line and restarting the projects severally but I seem to keep having this problem. Any suggestions for help?
Facing same prob:(
After editting,save it
Finally what I was looking for!
unresolved import 'django.core.wsgi'Python(unresolved-import)
how i solve this problem!!
bro how we solve this error can you tell me
my vscode is not showing when there is errors
Getting error: No module name 'calc.urls'
Check if you have saved the urls file in calc folder
@@skelpton4227 in calc urls file keep views.index, name='index.html'
I think you forgot the part of connecting new app in installed app of settings.py
Elaborate it please
I got an error of Calc.views has no attribute home. Pls help me to solve it
same here
check that calc is app or project
In url.py(telusco)
i had error no module named 'calc'
In this case you need to save all files or put tick to autosave files in vs code
@@eightsoft thanks, i have spent atleast 4 hours to solve this error
@@eightsoft thanks
@@mohammadmobashshir5378
👍👍
@@dheerajpatil3551 welcome 👍
I am watching, so far so good.
Please sir tell us when you will upload next video
Hello sir ,i am from nepal and when i try to run the server it shows the following errors,how can i correct this,and hats off sir for the way you explained the things is totally good and appreciating
messages.extend(check_resolver(pattern))
File "C:\Users\Winner\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
return check_method()
File "C:\Users\Winner\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\urls
esolvers.py", line 399, in check
for pattern in self.url_patterns:
File "C:\Users\Winner\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\utils\functional.py", line 80, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:\Users\Winner\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\urls
esolvers.py", line 593, in url_patterns
raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
Thanks man, Im really enjoying your video. easy to understand..
hi sir, i am not getting hello world on my page, please suggest me the solution for it quickly,because i cannot move ahead with the video without getting the output
Same here... Any solution??
i am getting the following error:
ModuleNotFoundError: No module named 'django.url'
can anyone please help me out with this?
did you figured out the error? pls help
django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
Same error
start another web from the scratch....it will work
same error
at 2:56 how did u install that views ,,, u skipped that part
from . import views - giving error saying "Exception has occurred: ImportError
attempted relative import with no known parent package". Sir, can you please solve this error.
Ctrl+Shift+P
Search for python select interpreter
and then select the test environment or whichever environment you installed Django
Did u found fix?
@@dheemanthkumawat4511 still same
Sir I dont know why my home page is not appearing ("hello world") on server
mine too did you find any solution ??
@@godfluid did you resolve that error? If yes,could you guide me?
how can create more than one python prompt in terminal ,pls guide me
and when i run server it shows need to activate migrate. how could i solve it.Thanks.
Really enjoying your videos, thanks for making django easy
First to watch and like
your are too vella 😁 😁 😁 😁 😁 😁 😁
@@freakotech2410 And I think you are too busy in replying on comments, that's why you took 3 weeks to reply....
Next time try to reply faster......
How does virtual environment name "test" changed to "myproject" at time - 3:36
ran activate file
I'm still getting the output "The install worked successfully! Congratulations!" but not the message to be displayed "Hello World" . Could someone guide me ?
do you get your problem solved? if, yes please tell me too i am also getting the same problem.
@@anammansoori9153 I used the github code which he posted. It works fine. Still couldn't track the mistake that I made in my code.
Save all files before running server.. It will work fine.. I too faced this problem.. after saving all files it shows the output Hello World
@@dineshcuts Thank you so much!!
In #3 django tutorial you have taken virevr as test so how you have used myproject as virenv?
workon virevr
How did your virtual env changed from test to myproject ?
same doubt
Same doubt tell me plsss
@Nauman Shahid thank you
add 'workon' command to test
, then download django using command 'pip install django' and perform any action like creating app , run server etc.
that's what worked for me!
he must have changed it in between.
just follow along, there you should have test instead and it should be fine
i am getting unable to import django shortcuts. How to rectify that?
please help
path(' ', include('myapp.urls.py'))
No module myapp
i am getting this error
6:25 콤마 까먹지 말자.
Thank you
Sir intro music is lit
It is sounding extra............
Sir, why didn't we add the calc app in the app list of the settings ?
I did but after adding my whole project was not working
Sir I got errors..... It tells missing module file sir..... What I do sir...
Sir my Hello World is not coming on Server. What should I do now?
save all files
Same problem
How to resolve the errors :
Unable to import django.contrib , django.urls , django.shortcuts , django.http. ???
Change the python interpreter to env
In a particular tutorial, we were asked to add the app we created to the setting>installed app..why didn't we do so here?
from wali error apne ap thk ho gyi kya.. vo to btao kse ki'
A small correction: in here: 1:46 you say, "From all", what do you mean? It means *from the current directory* import views
from . import views
ImportError: attempted relative import with no known parent package
how to solve it??
@@PYQ_SSC make sure that your file is in the same directory as that of views is. Also, can you please elaborate more on your issue? Please provide any gist or a pastebin link.
@@hemanthkotagiri8865 thank you 😊, I got it
@@PYQ_SSC Hello. Could you kindly tell me how you solved this issue?
@@hemanthkotagiri8865 Hello. Could you kindly tell me how you solved this issue?
from . import views
here showing error:Displaying no module
i am getting same error
How it comes that the environment changed from (test) to (myproject)? because i cant run "hello world" and looking for the mistake. maybe thats it?
You're rushing man, let the video reach the ten minute mark. After the necessary changes, when I try and run the server there are a lot of errors. Frozenlib, module not found, etc etc.
yah mee too! Any solution?
Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
this error
first type "cmd" without quotes and then type your code
i am facing an error "no module named telusko",what to do ,pls anyone help guys
bro how we solve this error can you tell me
even after adding vc extension for django and python, nothing is listing when we type.
please help me to solve that,
when i try to do from . import views I get an Exception Unhandled ... attempted relative import with no known parent package
can you plz guid me if you find some sollution
Anyone found fix?
Hi telusko Sir, i have seen you working in a laptop kept very low. By seeing you im getting neck pain, well do you have any neck issues?
Thank you for this video,
Thank you broooo
great JOB.. like it
After Activating the Virtual environment, python manage.py runserver is not working in the terminal of Visual studio code. Please guide on this
can I use pycharm for this projects.
yes, u can
Yes brother
@@venky433 jupyter ??
what should be done if there is calc module error appear. and like you I didn't get these 3 terminal cmd, python and python. csn you please explain it.
sir i am getting this----------------------
Import "django.conf.urls" could not be resolved from sourcePylancereportMissingModuleSource
(module) conf
i'm still getting the output "The install worked successfully! Congratulations!" but shows error in calc.urls as "unresolved reference" and the message is not displayed "Hello World" . Could someone guide me ?
i m getting the same problem
do u know how to resolve it?
pls
Sir alot has been changed during these years, we are facing many differnces.
Like workon is not working.
App name is not imported
to work with " workon" change from "powershell to cmd" in VScode terminal
Thank you so much sir. Awesome videos 👍😀
Thanks alot sir for making these videos 🙏🙏
There are no ,errors but still by page does not show "hello world"
Ya bro same problem
Haa same problem bro
did you find solution mate??
@@godfluid It's been 10 months I don't even remember this video anymore so I can not tell but I may have to go through this video again
@@kunalupadhyay7970 no problem I have got the solution just need to save before running the server
the same I have done but I m unable to run like you. kindly reply plz. i m unable to get "Hello world"
hey, how did you resolve this error?
@@susmetaa2922 Pls chk your python interpreter u have used.
Import django.contrib could not be resolved from source Pylance????
getting this sort of error everywhere in my code