Hello, friend, welcome back.
In this video, I want to discuss about how can laws of the Istanbul template into the jungle for doing
this, like if you go to our home, brought into the home right here, you can see I have already created
one of the oral part.
If you want to go to right now, I just simply remove everything, then it'll be better.
So if you go to our project into the project and result, you all see to the oral area, I have added
our home that the whole media into the views I have created on the function as a whole, that means
into the portfolio, and that is our views here.
I have created that function as a home and here it is to be a response that means I return to one of
these telepresence data.
So that is actually visible, right?
So now that are visible.
So now here I want to do want to load one of the e-mail template so I can load some of this general
template I show you for doing this.
First of all, here you have to do you have to create one of the template folder in your main directorate
that the main folder, project folder there is a portfolio.
So here first of all, you have to do we have to create all of the folder?
So, no, I just simply named that folder as a template.
OK, just name it as a template.
So into the template area, you can also organize your all that application, like first of all, into
the templates area I want to do and to create one of the file I just named the Twila's index is HTML.
OK, so that will be our index, this HTML file I want to open and also I have created another application.
So if you want to segment all that, your application related as HTML side with the different, then
you can also do it.
Like I show you the employee here, I have created one of the profile, so now I want to create one
of the folder.
So I just click on the folder.
So whatever you put that name better for me I want to do, I want to make the things as a related.
OK, that means the employee.
So I just created one of the folder name as an employee and here I want to create another file as a
profile dot xhtml.
OK, so I just simply created another file as a profile of the e-mail in our employee.
So that means all that our application related, every e-mail file.
I want to save it on here.
So that is our first of all indexes.
And here I want to load on the external tank.
OK, that means our external tag.
So I want to post some of the title as a home base.
OK, that will be as a home base, and that is our body, so if you already know a little bit rest,
then I think you already knew about it.
So I just simply added on the H1 tag and this is our this is our home base.
So I just simply added on the H1 tag as this is our home base.
So now I want to do and do the same thing, but I just simply copied.
And now for the profile Temel here I just simply pasted that means in our employee and that is profiler's
html.
It will be as a profile piece.
OK, and I just put that name that this is our profile because that means this is our profile piece.
So this step up on the name and just simply added our other than you can also add some of these strong
into the strong area, I just name it as a name will be as a CASA RTM.
And also I take another one as Atreus or email.
OK, email.
I name it as Karzai or Orien at the rate Gmail dot com.
So they step up on the name.
I just simply add it on here, OK, and that is our index.
So that will be our index into the index.
I also want to put some of those strong code that means here, I name it as a log and I just bought
some of the text for the blog.
This is a blog
contained, OK, and then I name it.
Just name it only one.
Then it will be enough.
OK, so that sounds perfect.
So now I want to do I want to load our these indexes html file.
Right.
So here I want to load it.
That means here I want a loaded on here.
So that is as I told you in the video, I have created one of the function that is our own function
and it is a function area.
I just returned it before with a response response.
So here if you want to load the e-mail side, that means if you want to load one of this general template,
then you have to do we have to do that work with using that render OK, with this render, you can actually
add it.
So first of all, here we have to do we have to get our render.
So that is in our form and that is all Django like from the Django.
And then the shortcuts,
from the shortcuts you have to have re-import that render method.
So that is ORENDER.
So I just simply import our render method fast.
So now with this render we have to do we have to return it before I pass it with the DP response.
Right now I have to load our SDM side site.
So with this render method, I want to actually get it so into the render method which actually passed
two parameter, first of all, which will be passed that request.
So that means the request.
And also after that, where exactly that final location.
So right now in Django, when you as a your folder name as a template by default, automatically it
should be elected to our D folder area.
So into the folder area, it should be automatically rejected.
OK, so for that resource here, after that folder, I have already created our indexes HTML.
So for the reasons here, we don't need to use that template.
You can only use that as your direct name.
That means right now to load our this template of the index e-mail.
So now here I just simply load our index, not SDMI, I hope is very much clear to friend.
So first of all, you have to load your render.
That is a random method.
And the random method, it will be passed two of this parameter.
One will be as a request.
Another will be what exactly that file.
So that is actually our final location.
By default, it will be rejected to automatically into that and inside our template folder and is the
template folder I have created on the file as the index system.
So now I just simply put that link.
So now if you click as a Savol, if you look at the Savol and now a few refresh it, it automatically
displays the error.
I show you to refresh it.
Yes, you can see better.
I just drew out so that here is still showing as the template does not exist.
So I have created one of the template, but I didn't actually notify that things into the Django that
I have created one of the template folder.
Right.
So here we have reallocated.
So we have we are located in our main project that is in our main portfolio project and the seating
area.
So in the seating area, if you go, as I told you before, in the template area, that is actually
our directories.
So here we have to pass out the directory.
All that means here we have already created one of the template folder.
So so right now I want to do that is actually our spot.
So that spot will be needed.
OK, so now I just simply.
Copy it, I simply copy it, and now you know what, this template into the template that is directly
here, I just simply passed it.
So that will be our choice by trying our best directly to the best director here.
I have created one of the folder name as a template.
So now here we have to do we have to put that name as a template, OK, template.
So that is our folder.
So I just simply added so you can also do that work with different words.
So literally in the different section, I will show you how you can actually update that person with
the different words.
So right now I just simply added our main direct, but that means our Westmont trying our best directly
here.
That is our template folder.
So that is our template folder.
So I just simply notified to the Jianguo that I have created one of the templates so that the template.
Right.
So now if you click as a Savol and now if you go here and refresh it.
Yes, you can see for now it's perfectly visible.
That is our this is our home page and that is our strong code as a blog.
And this is our blog content.
That means our e-mail file is now perfectly loaded.
That means that is our index file right into the index file.
You can see that in our title as the home page.
And that is a one tag and that is a very strong tag.
So now we can successfully load our e-mail base, I hope is very much clear to your friend.
And also here, if you want to show our employee like I have already created as the employee into the
employee, there is a profile so that now you can see that is also showing our estin value.
So because of.
All right, now I want to work for this one.
OK.
So right now we don't need this.
That is our view for our portfolio.
So better I just simply remove everything from here again and now go to our portfolio into the portfolio.
If we go to that, you are also here.
I have created on the wall as a very rural part of the profile and the views and then the profile.
Right.
So now I want to do and actually change it.
So you feel the change that we see, the view profile go to our employee and the view and that is are
my thoughts before I have to use that response with this data.
So no one talks about it.
So that is our view.
But first of all, we have to do we have to load our render.
So just simply copied.
And now here here you can see it by default.
Already have that our Django Smartcards input render.
So here we don't need to put it.
And now I want to do and update our disposition.
So no, I just simply returned and returned for our Portfolio Solidarité profile.
So for the profile, I just simply are better than render.
That means a return.
Then there is a path to have this parameter.
One will be as a request and there will be our files or find them in our templates into the template
area, into the employee folder.
I have created the profile of this HTML.
Right, so that is our profile.
So now I just simply put that location.
So that will be, you know, our employee employee folder and the employee folder I have created as
a profile profile, but still.
Right.
That is our first of all, as I told you, first of all, automatically to be the template folder area
and into the template area.
And after that, that is our employee folder.
And after that employee folder, that is our profile.
That is HTML.
So that is the profile.
So now if you want to access our this part, that means the profile part is to be elected to our views,
our profile function.
So into the profile function area.
I have written our render request with our employee and I just load our e-mail template.
Now if you look at the Savol and now if you refresh it, yes.
You can see so perfectly getting our e-mail template.
So this is our profile page.
Our title is updated, the very strong name as a name, Kazarian, and that is our email address, I
hope, and everything is very much clear to you.
So no, friend, I think you successfully understand how we can load some day e-mail templates right
now.
That is our profile and also into the whole media.
I loaded another index e-mail onto the template.
So you the template area, if you want to use some of the bootstrap, then you can also use it.
So I can add that bootstrap into the jungle.
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.