We will talk about Django, so Django is in a Titan based Web framework.
So in addition to that, we will learn about what requirements we need to have on our machine to run
Django.
So what tools and code editors will go to have so that we can run Django on your local machine?
So before I start, I would like to show the content we are going to be covering in this video.
So we will discuss about Django by the official documentation of the Django.
Then we will talk about the tools and code editors, what we require them and why we need them.
And then we will talk about how the steps to install Django.
So these are the steps, how we can install Django and how we can start of the Django project and the
Django upon Oracle machine.
So Django is a high level python framework that encourages rapid development and pragmatic design.
So it was built by experienced developers.
It takes care of much of the hassle of Web development so you can focus on writing your app without
needing to reinvent the wheel.
It's free and open source in the Django is usually based on MBT Pact and model you empty.
So this I'm referring to the official documentation of the Django.
So it says there is a model here.
So model year if you for structuring and manipulating the data off the web application.
So the M stands for model and this model is used for shifting between the date of application.
The next we have is the view and the view.
It is responsible to encapsulate the logic responsible for processing users requests and for returning
the response.
So all the business logic is is encapsulated inside the view and it is responsible for building the
logic and how the user can request and how you respond to that particular request.
So this is all about individually.
So next we have is the template layer.
So Template provides the design syntax for rendering the informations how you want to present the data
to the user so that all the front end like this is the JavaScript is there in the template layer.
So how you can design your front end parts, how you can want to show that the data or you should show
that design your page to the user is all defined inside the template.
Before we create a Django server on our local machine and we run it on our local machine, you can go
to the official website of the python you can download and according into the operating system, you
can download Python and read.
Please make sure that when you have downloaded the python and when you run the installer, what do you
have to do, if you will get a window like this on your screen and it says like install Python three
point six point to a successful conclusion, what you need to do is make sure to enable this option,
that Python three point sixty two thought so because this would act by the T point.
Any vision using that python three point X to execute with two point five three point sixty eight point
seventy four.
They do the part and you can access Python via come line.
I will show this you.
Yeah, I would open the command line you get this looks better with good font size.
So what I want you to do is now when you have installed Python on your local machine, you just need
to type Python.
It says, yeah, it's it's Python two point eight point one.
After install Python to your path and running Python from the command line, you can move this studio
and the studio used to interact with the database initially.
We are going to work with Escola database in Django.
So you can this this provides a graphical user interface and so you can click on this link, download
Windows Binary Open.
So I'm hoping this in the new tab.
So what we can do, according to your operating system, you can download the file from here, install
it on your machine.
Next, what you can do is install visual audio.
So your code is a code editor we are going to use for this year.
We are going to use Visual Studio because the best part of this is that it has an integrated terminal
inside it.
So I can show you this thing like this is the code and like we are doing some project so we can interact
with the code as well.
Now, the third part of the and the B part and in the third part, we are going to see the soldier angle.
So what you can do is come on line.
I would recommend you to run this command Bip Bip and Python base package manager.
So it helps you to install packages and libraries externally.
I like my name.
So what do you need to install Django?
So this will ensure Django no machine, but like I've already installed Django on my machine, so it
might tell me that requirement all dissatisfied because I only saw Django on my local machine.
So to check this, what you can do, I would recommend you to type Python.
So Python has been around like I'm online and I would type in.
Chango.
Now, the next you can time Django dot version.
So this will be dealing with the general religion, which has been sold successfully on my machine so
that Dango has been installed on the machine.
So what you need to do this Pipistrelle jangle and you need to run this command.
So next time we going to have a visual record of the phenomena.
So after opening a terminal, what do you need to do is move to digital.
Then move to the older city programming knowledge, so I'm inside this folder and now I'm going to want
to come on and help revive the old world.
What are you doing there?
So what I need to do is Django.
AGYEMAN.
Start from.
This couldn't be any project name you want to give him my project.
Not able to run the direct command.
So this is my project has there is a folder for Michael Project, which has been it has been stolen
in the current directory.
And this is due to this command General AGGRASTAT project, my project.
So you can see that my project has been successfully.
Now the project has been created.
And then if you want to.
Start up.
So, as I mentioned earlier, the inside, this is a manager three by five.
So you can run this file by a command line if you specify Python as a prefix to this file.
So in the same way we can run, this could be the file, my command line if you use Python as a prefix.
So what I'm trying to say is.
Like, you move to the area, you move to the Inside the Jungle project folder, which is my project
named City, my project.
Now, what you need to do is run the life to come on the fiscal and monetary where you can run this
file if I can manage that.
So you are able to run this file.
But in addition to this, I'm also specify something, things that have.
I knew it could be my app, so let me tell you one thing.
So first I get it.
So I was inside programming knowledge directly.
Then I created a folder called My Project.
So this is a jungle project.
So inside the jungle project, I created an app which aspecific like this Python managed to feeb inside
the project folder.
I'm trying to create an app with the name My.
And I want to tell you one thing, that there can be multiple apps so we can say like there can be multiple
apps inside us in the Jungle Project.
OK, so like by using this command, we are going to create an app.
So I would say Python managed to start up my app.
So when I moved to my older, I will see my app, so then my app has been created inside my my project
folder in the same way I can do one thing extra.
I can do my app to.
Oh, so this all looks so like what I told you, that inside my Django Project's Django project, I
have to ask what is my and it is my app too.
So what I wanted to tell you with an excited single Django, you can create multiple apps.
So far, we have more to this now in the last one.
What you are going to run if you want to run the general store on our local machine, what do you need
to do is you should be inside your product folder and type item.
Manege.
Boy, run through.
So so this is the language entry point for point one, using settings, my point of setting, starting
to person and this and this is one twenty seven point four point four point one.
And this is the eighth of the number.
So I want to tell you that this is your localhost, this one twenty seven point four point open one.
And he told me your phone number so you can copy this address or you can simply do one thing, send
one.
Going to send for low point 0.01 is your localhost address.
What you can type is simply a local calls and specify the phone number and phone number eight thousand.
So this would OK, now you can see the this page is being loaded here.
So what we can do, we can get this over with the control because we combine this using the issue with
this.
I would again run this command.
OK, so this shows that this has now it has been started on my machine, so like so now this so this
is the so you have to use this gumline fight managed to be run over.
So this has the stock in the server on my local machine with the eggless one twenty seven point two
point four point one hundred eight thousand.
So this means that I guess with local horse and the board number was eight thousand sixty five local
high school and eight thousand.
So the server is running successfully for install the facility.
Congratulations.
This is from here.
You can download documentation to do polling and community.
So we made a Django.
So on a machine and we will able to render Django on our machine.
So next year we will come up with the request and the response by the.
Thank you so much.