#3 Django tutorials | First App in Django - part 1

preview_player
Показать описание
Check out our courses:

Coupon: TELUSKO10 (10% Discount)

For More Queries WhatsApp or Call on : +919008963671

In this lecture we will learn about:
#1 types of web application
#3 what is inside a django project
#4 how to create a first app in django
#5 what is inside our calc app folder

first App in Django

#1 we want to build web application
we have two types of web application
1. static web application
2. dynamic web application

Some sites you visit is static web application
e.g visit first time you will get the same page in facebook, twitter, google, etc
which are same for all users

some sites you visit is dynamic web application
e.g my bankaccount detail is different from your bankaccount detail
which are different for all users

for making static web application we use html, css, javascript
Now for making dynamic web application we use Django

Django is a python based web framework

first program:
print hello world using django

Here we are using visual studio for our work

open folder projects thats are created in our 2nd lecture
which are has a separate virtual environment for each project

#2 in this project we have lots of file
inside projects
we have a folder named as telusko
inside telusko there are 3 files
inside telusko there are
1. __init__.py

and one folder __pycache__

a) we have secret key
b) we have debug (remember before deployment we have to change it to false)
c) we have installed apps
d) we have templates
e) we have databases (by default it is sqlite3)

#3 we have to create a app
-- to create a app open terminal and type
-- to create calc app
-- to change to our virtual environment
-- to change directory to our project
-- just go on telusko folder and open terminal and type workon test
-- now we are in test
-- now we have a folder named as calc
-- inside this we have differnt file

#5 what is inside our calc app folder
class CalcConfig(AppConfig):
name = 'calc'
-- CalcConfig is a class which is important.

-- it is used to hold data

-- it is used to test our application

-- it is used to render our html page

Editing Machines & Monitors :

Subscribe to our other channel:

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

One Correction :
Its Visual Studio Code not Visual Studio..

Telusko
Автор

You can easily cut any part in the video or re-create but this is your way of showing that we might get stuck and that is the lovely thing about you, you are not just teaching in flat flow, you are even teaching us about the mistake we can make and think to drop of this plan of learning coding, sometime we get stuck and it feels like leaving until we are full of passion and perseverance. Thank you bro so much!

gauravlakhina
Автор

wow! Thank you very much for this journey started, the best instructor I have met so far
I would suggest you teach on how to make a software from scratch so we can know what to do with the programming knowledge you have already taught us.
Looking forward to following this series up to the end.

larrymusau
Автор

The only Indian tech channel that doesn't start with a dead "Hello Frands". Subscribed. Great Stuff Buddy.

PrateekSharmaTheKid
Автор

Thanks thanks a lot sir, I look for django since 4-5 months on youtube but I couldn't found any better. Now am confident that now I can learn django

vrajverma
Автор

Thank you so much for starting Django series... Hope it will be highly helpful for us to develop our own application with the knowledge gained from your Python series....

narendrani
Автор

Fantastic Content !
Two Observations :
1. Download Visual Studio Code but not Visual Code
2. Run using cmd terminal but not powershell on Visual Studio Code for creating a CALC application.

PradeepKumar-himr
Автор

Sir, please upload more videos fastly.
I am waiting daily for your videos related to python.
True Fam.

sukhvindersingh
Автор

I enjoyed every second of your video. Your explanations were very easy to pick up and I feel like I learned a lot in 8min. Thank you

rrrudziite
Автор

Its good that you show where problems one can face. Some people start with fresh setup & hence their videos aren’t helpful for freshers, if they get stuck..

thinkall
Автор

Ohhh u started django really happy to learn I was about start django now...thank u

siddhantsalunke
Автор

Just change the Powershell to CMD.
Follow Following steps

1 Press Ctrl+Shift+P to show all commands.
2 Type shell in the displayed text box to filter the list.
3 Select Terminal: Select Default Shell.
4 You will be prompted to Select your preferred terminal shell, you can change this later in your
5 Select Command Prompt (cmd.exe)

6 Click the Delete Icon in the shell pane to remove the existing terminal.
7 Press Ctrl+` (or View > Terminal in menu) to open a new terminal pane.

shushantkeshari
Автор

in Visual Studio Code, "workon test" command is not working. can anyone HELP

rajeshpulletikurthi
Автор

great tutorial! very helpful. carry on the good job. all the best!!!

jitenpanchal
Автор

Thanks a lot. Really good teaching method. Waiting for more videos.

alielyasi
Автор

Thankyou Sir for what you do you teaching us a lot really appreciate it..all the way from Zimbabwe..we love you so much

Busisanimac
Автор

Bhaiyaa, could you please make videos on Kivy I like your channel and your way of explanation frankly and I get you to know what you are try to explain rather than compare to others channel that's so sweet... Continue to explain like this (miraculously and in beautiful way)
and make us more intelligent and inshallah we make our nation proud by improving on IT Industry...

mohammedsamiuddin
Автор

Thank you sir.The videos and explanations are precise, understandable, easy to follow, precisely paced and implementable.

fakirashahul
Автор

missing every bit of wait the next one. Feeling the urge for more

danielkamau
Автор

good teacher and expain the concept in easy way so if any one interest to learn so please learn form here but dont skip the viedo .
if watch may tutorial for different channel or website i can not understand but here i realy understood .

manishbhandari