#4 Django tutorials | First App Django - part 2

preview_player
Показать описание


Django is a high-level Python-based free and open-source web framework, which follows the model-view-template (MVT) architectural pattern.
It is maintained by the Django Software Foundation (DSF).
Django's primary goal is to ease the creation of complex, database-driven websites.
Some well-known sites that use Django include the Public Broadcasting Service, Instagram, Mozilla, The Washington Times, Disqus, Bitbucket, and Nextdoor.

In this video we will see:
Writing hello world program in Django project
How Django navigation work
Accepting the user request
Returning the result
Setting urlpattern

Check out our courses:

Coupon: TELUSKO10 (10% Discount)

Editing Machines & Monitors :

Facebook:

Subscribe to our other channel:

Donation & Support:
PayPal Id : navinreddy20
Patreon : navinreddy20
Рекомендации по теме
Комментарии
Автор

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

godfluid
Автор

Thanks Sir, You are just awesome b/c You don't hide Your Errors while Coding and recordings. We Learn Much from these Errors.

jaggafarell
Автор

Love that you just get down to business! You don't ask all the BS to smash the like button, plug your course etc.

haydenwilsonx
Автор

teachers like you are the real heroes providing the whole series in most easiest way of explaining the concepts.
Thank u so much sir

yevs
Автор

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!

skviknesh
Автор

i'm getting this error - "raise

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 !!

sowjanyachowdary
Автор

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.

hanumanbhadke
Автор

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.

elakkiyav
Автор

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 🙏🙏

anilkumargupta
Автор

even after adding vc extension for django and python, nothing is listing when we type.
please help me to solve that,

maqboolthoufeeqt
Автор

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

Jason-hljh
Автор

hello,
I was following your tutiorials, but i want to know that
Anaconda default python can we used for django.
But i m using editor as visual studio

epic_clickks
Автор

I have a doubt what if I imported all from a certain module instead of mentioning it one by one for that module, will it affect the efficiency of the code

DiasDenny
Автор

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

Rajkumar-vcpg
Автор

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

shivangipandey
Автор

sir,
i followed u r setps.but the hello world is not showing ..there is non errors in the program.can u help me.

jerinraju
Автор

Thank you sir, good video on the basics. Can I ask you a question? When I install Django it installs version 1.11.29 by default. any other version it ignores. I'm on the mac. How can I install 2.0? Thank you.

elkhanhamet
Автор

can someone please tell me how to run this project/file. I know how to select environment and run the environment, how to run the server etc, all I want to know is 'How do we run the file/project we just edited on visual studio? Whenever I try to run(Run without debug - CTRL + F5) the file, something pops up and says Select Environment, but there I cant find 'Test' environment that I created. It gives me a list of packages to download from online instead, I can search for django but idk if thats for the whole pc for just the project help, I just want to know how to run the code in visual studio after I modify it.

sahilwalia
Автор

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?

MrAlmfighter
Автор

File "urls.py", line 2, in <module>
from . import views
ImportError: attempted relative import with no known parent package

How to solve this error? Kindly help.

susmitabhattacharjee
welcome to shbcf.ru