Hello, friend, welcome back in a previous video I have already discussed about that for Loop, so
now in this video I want to discuss about how you can load all that, your static data.
That means, as I told you, for our this fundamental section, I will use our this team, OK, so little
we will actually make that into dynamic.
So right now, first of all, if you want to working with this static, one of the file, then first
of all, like for this team to have some of the images, they have some of the cases, they have some
of the JSW.
Right.
So that's all that static data.
So now I want to do and actually add this static that so can do that work for doing this in Django.
You have to apply some of the condition.
If you go to that Django official Web site, OK, if you go to that Django official live.
So that is our Django project dot com.
So now it's simply open it.
And if you go to that documentation.
And the documentation area, if you start with the magazine managing a story, managing static files,
so if you start with this.
And then here you can see that the managing files and the managing static file.
So now I want to actually edit that managing static files.
As I told you, that is a major JavaScript and access.
Right.
So now I just simply open it.
So if you want to apply this static file, then they have some of the things you have to update that
also is giving somebody an instruction on here.
So now we have to actually we have to do we have to actually float this in a section like the reservoir
is static.
You are.
So here we have to update it.
That is static.
You are.
And also in our menus, the regular menus, while here, we have also updated our already static files
directory.
So step by step, we have to do we have to update it.
So for doing this, first of all, right.
Now, we don't need this.
I just simply remove everything from here.
OK, then it'll be actually clean.
So now into the template, into the template area that is our main portfolio, into the portfolio.
If we go to that settings into the settings here, they have by default one of the static file.
You can see that the cloud is static, equal as a static.
OK, that means that is actually the only static you are.
So now first of all, if you want to do like here, I want to apply some of the CSX file.
So now for this page, I want to apply some of the specifics as file, OK, so I can actually load this
file I show you for doing this.
That is always telling you all that is today.
So for the reasons first of all, I want to do I have to do I have to actually create one of the folder
in our main portfolio into the main portfolio area?
I just simply create one of the new folder and I just named it as a static.
OK, so now I just simply created the folder as a static and static folder area.
I want to create on the file.
And I just named it as a style.
OK, Stallard siestas.
So that will be our of says.
That will be our file.
OK, so here I want to do first of all, I want to add some of the body background.
So I just simply added that body so into the body area.
I just simply added onto the background color like background color and the background color.
Now I want to use on the screen, OK?
I just simply added on a dark green color.
So now we have to do we have to add our DC style.
So we have to add this is telling our main page.
That means that is our main page.
I have already declared in our layouts right in the Dallas area, you can see I already added our client
end up with the booster Obsidian CCIS, and that is also the Jaysus file.
So here I want to do and actually also added, that means that the league is tells you, I want to add
something that I just copied and pasted.
So right now we don't need this.
So I just simply remove everything.
And also we don't need this.
I just simply remove it also from here, OK?
I don't need this.
I just simply will be so in particular, that area.
So in particular that area, if you want to visible it for that means that is excessive, won't be bullied
for doing this.
First of all, you have to do you have to load that.
You have to load.
This is static.
OK, so for now I just simply copy it.
So now here in here.
OK, sorry.
Here I want to do in the top.
I laud our aesthetic, make sure you add it.
And also after that I want to pull some of the link that with our this finely static filing.
So here if you want to put it with the double this and here first of all that will be as a static folder
is static and the static area.
So here I have created one of the standard success.
I just simply added a style dot cyesis.
OK, so that is our second step.
So we successfully completed.
So now also after that, after that we have to do we have to update our this is texture directly that
the static files directly.
So now here we have to do first of all, we have actually added that means here, but.
Right.
Assembly copy total things from here and now in our setting into the setting, that means in a portfolio
that is our main setting.
So that is only static until after this.
OK, after this I assembly passed it, that will be our static files did actually seem to be static.
Fudgie actually I have created one of the folder as a static, so we have to also included it so better
that will be actually this one.
So for now I just simply copy it.
OK, so I also did that work for our add this directly.
That means the template.
So should we just like that same.
So for the results here I just simply copied it and now I want to do I want to add our this is our main
directorate.
That means the static files directly.
And here I just simply paste it seems will be our name.
So I have created that our file name as a static, OK.
That means our folder as a static site is simply added that as a static.
And also here we have to do we have to add another things like here that.
Zouari, Statik, farcically, I have added and also there is a diploid and for the diploid, all the
files that before you actually deployed disposer to the Web server for the reasons here, better.
We have to also add another one that the aesthetical out.
OK, that means study group.
OK, so now I also you have to do we have to actually add it better.
I just simply copy it and then after that here I just simply paste it.
So that will be our aesthetic that there's one for our diploid this project or when we actually submitted
our project to the Web subordinate's will be our this aesthetic, all the child.
Rouda will be updated soon, particularly Natalio and wonderfully copied and hear E here.
I just simply posted so I want to do.
And when will it be deployed then I want to add it on the aesthetic road and distribute area.
I want to add it on the file as an asset.
OK, so that is the asset.
That means I want to do I want to create one of the folders to be automatically created automatically.
So we created one the folder in particular, that area as the asset and the asset area.
It should be save all that.
Your CSA is Jaysus all that file.
OK, so you don't already step by step.
Everything will be more clear to use for doing this better.
I just click it to save all and for doing this you have to do we have to run all the command now go
to our link.
So that is our reasoning.
But I want to open our end of the terminal.
So that is our general.
And after that, that is actually our project.
Right.
So that is all we have to do, have to change that directly rather than you can actually also open our
D folder, OK, you can open this folder and into the open folder area.
You can do you can actually before that was actually our design go so you can select it with the portfolio,
then automatically you will be selected as a your portfolio.
OK, so I will do the things later.
Right now I just simply change that directly as a portfolio.
So now you can see the regular jungle and then our portfolio.
So now for Rahnavard, this is static route.
That means static route.
If you want to create the parser, then you have to run one of the command.
You have to run as a python.
OK, Python.
And then with the managed by.
With the madness by then, you have to do you have to run on the college static, so I just simply added
as a collect, OK, collect static so that the static make sure your spelling is correct.
So there is a python managed by and the collective static.
So now if you click as they enter.
Yes, you can see Fanhouse automatically created one of the folder, as I said, so that is the things
I have already declared.
And here you can see snowshoeing as a 131 in Statik file copied to our TS asset area.
OK, so that means everything is done automatically.
Get all that our like right now I don't have any templates.
I only have created one of the file as the static file as Estelle.
US right now consists automatically deployed as E-L boxes and that is for our admin.
OK, that is for our admin and for the admin.
That is actually the CSA that there is all the default one so automatically is deployed.
Everything, whatever the things will now create on here, automatically it will be deployed all the
file in our outside area.
OK, so for the reasons here, I just simply deployed with our python and the man spy and the static
perfect I hope is very much clear to your friend.
So right now I have already run my our Sahba and also I save all that file.
And here I have created here I have already liying one of those tile boxes.
And also I pulled some of the background color.
Right.
So now let's check this out.
Our this says is perfectly working or not.
So now if you go to our site and here if you look at the refresh, yes.
You can see in our background is now become Chanes.
Right.
So there is actually another day for the region which is visible like that way.
So here I have U.
S the class, but you can see background is totally changed.
So now if you want to change it again, like here, I want to make the things as a green or red.
OK, I just make things as red because I save all.
Refreshing.
Yes, it's not perfectly good our all that as a scholar, right so far using this, but I want to make
as a green better.
OK, so that will be the green.
And for use it, as I told you in the layout area, first of all, you have to load your disestablish
that below the static.
And also I just put a link that means our link is stylesheet and here there is already static with this
static.
I just simply loaded our Estella's access right now.
One of the things we will put on here now, you can use all that CSRs for your project, I hope is very
much clear to your friends right now.
If you to save all.
I make that as a green click, as a refresh.
Now, this is not totally updated and now it's green, right?
So we successfully complete that part of the next video I want to do.
I want to work on that.
Play our this team.
OK, that means how we can add some of the bootstrap template in Django.
So for our this foundational section, as I told you, I want to use this theme so I can apply this
theme in our Django project area.
In our next video, I will show you that things with a live example.
So thanks for watching and I'll see you in the next video.