Hello, friend, welcome back.
In a previous video I have already discussed about that, things with you, you are mapping, so how
can create that you are mapping and also how you can create one of the specific gural for this specific
sound application that I think is very much clear to you.
So before I have already created one of the view base into the index, I have created one of the function
into this index function.
I load some of that text.
Right.
So not only here, if you want to load some of the templates, then how can load some of the templates
in this video, I will show you that things with a live example and a friend is very much important.
One the part and I hope you will going to like it very much for doing this.
First of all, here you have to do you have to go to your project.
That means, you know, our main proposal, in particular, that project area I want to do and to create
the folder.
So I want to create on the folder name as a template, OK, I just name it as a template.
So if you now go here, you can see that the template to the Templars folder here I had to do for our
every application.
I want to create individual some of the template.
OK, so right now like I have only one application as a fast application.
So, so for the first application I want to create individual and add a template for this one.
OK, so then it should be better.
So right now for our first app in our template severe, I want to create another folder and I just name
it as a fast OK, fast underscore app.
So this type up one of the folder and create.
So if you go to our templates, you can see I have created another temper's area.
So that is all that files, applications related, all that our template.
I want to save it, in particular that folder.
So if you create another application as a second application, so better for all the second applications
template, you can save it in another template.
So into the template folder you have to do.
We have to create another folder, this one.
OK, so right now I have only one for the template I have created on the folder.
That means our Fastweb folder to now into this folder here I want to do to create another new view file.
So here I want to create one of the file and I just name it as the index is html dot SDMI.
OK, so now I just simply created.
So that is our index.
Total stimuli have created a good friend.
So now into this index to this general here.
I want to do I want to create some of this Tamalpais.
So that is Tamalpais I have defined.
So that is that where is the MLP.
OK, so this is Tamalpais, the title.
There is a body so that are and e-mails to this title area under the final of the title of the home.
OK, home page of our Farstad.
So to simply define as the five steps.
OK, so this step up one of the index pages I have created in our templates area and for our specific,
this application that in the first application for the first application, I have created another folder
as an application, first into this application first here I have defined our index system and into
this general file here I define the title.
And also if you want to put some of the text into the body area, then you can also defining it's simply
defined as the H1 tag.
Right?
So into the H1 tag here, I simply define some of the text like this is the form.
OK, I just simply defined as a home base of Fastweb fast apps.
So this step up, one of the text I have defined with the H1 tag.
So not only if you want to visible, that means in front of visible our this app is still Malfi in our
browser, then how can do this work.
So for doing this we have to do we have to add our these templates.
Right.
We have to add our D template, our these fast apps in our main project.
That means in our project and this project that is our setting.
So here we have to include it like a friend.
So in particular that position we have to include that part so into this position.
So first of all, that is our input always.
So do the employers.
And after that, that is our on the build.
One of the parts to this building partners are based.
You are OK.
So you do this based on what exactly that means.
So right now I am actually working our project in our district today that that means in our next stop,
the regular exercise file, you know, and go back to this folder and in particular that position.
I have defined our this project.
But here you may actually run this project with different trajectory.
Like you can run it in your server.
You can write to it in your next of another folder.
Right.
So it will be not the same as me that I'm actually using it.
So right now I'm using these directories, which may also different for you for the reasons that have
also entered the building.
Things that are important is so did important is that they are base.
You are OK.
So right now we don't need this.
They just simply minimize it.
So now here they have also the variable with the best to so it is actually defining that path.
So that is your whatever the position, you are now working on it.
So now, first of all, if you want to check it like here, I want to check every file.
That means in our obvious path there is a clue, the file.
So if you want to check it, then you can check it.
I just simply defined the preened.
There are still very much clear to you why it's important.
So here I want to do want to actually added our this file.
I want to say just simply defined this on here.
So now if you want to check it like here, I just click as a Savol.
Now open our terminal.
And into the terminal now, we have to do we have to go to our aspecific our first Bozic, that was
my first project.
So I just simply find that changes, actually.
And they need the change directly.
I define our fusspot.
That means my Fuseproject, right.
Then also it with my Fuseproject I wanted to do or to go to our TSA specific folder.
That was another folder as of my first projects, and I want to also chase it.
So I just am really proud of the CDA that matches directly my Fuseproject.
OK, so into this, my first project I have also on the file as a setting fire.
So now I want to do, I want to access it.
So here if you want to access it then you have to it by and the setting settings dot fi.
So that is actually our fight.
And now if you click as they enter now you can see if snowshoeing as a setting fire, that means, you
know, appropriately getting our specific this file location.
So that is a file location as a satisfy is not getting that result.
So now here, if you want to display this part like here, I just simply copy it, OK?
I just simply copy it.
And now in particular, that area, I just simply paste it.
So, no, I want to do I want to display out this pened option that is here.
What exactly popped it's now actually printed.
So here I want to defining it.
So now I just click as I save all OK, I just click the save and now underarmed again.
I run our file and the setting file and then click on the enter now can see if snowshoeing out is directly.
That means that is actually that victory is not showing.
So that is our first project and they are setting fire.
OK, so here I only need our this project.
Right.
I only want to need out this spot.
So that part actually our this project part.
So here I only want to take this one.
So here I want to remove our D folder that my first project folder and also that is a sitting duck face.
So here I also want to remove it.
Because of all these false positives, I have defined our template so into the template I have defined
our app.
So that's the templates I have to actually access.
So for the reasons here, we don't need our D first project and also the setting fire.
So if you want to remove it.
So here I have already defined that parts.
You can see that to the part like here.
If you want to run it, I just copy it.
OK, just simply copy it from here.
That means this territory better.
I just simply copy it.
And now here after that I just simply paste it.
OK, so I had the result part and then to and then always part and after that.
So here we have to do have to also finish it.
So here I just finished our last one.
Sorry I just finished our last one.
OK, so now let's check this out if you like, as I say.
Well again, I just think as I say well again and now I want to run it again.
So here I just goes up.
That means the fire setting fire and I want to paint it again.
Click the enter.
Yes.
Now because friend now from our obviously it's not painting our setting.
So now it's automatically removed.
Their settings are now showing our D folder.
Right.
So I also want to do I want to remove this folder because as I told you, I need our only this part.
That was our first project part.
So here I want to use it.
So now they have another one.
So I want to remove this part.
So here, if you want to remove it, then that is actually the underwear's.
So but I just simply copied it and here after that I just simply paste it.
So there they are with Bob and the direct aim and the path to victory and here we have to also finish
it.
So you simply finish it, OK, I just simply finish it.
So now if you click as I save all, I just click away, save all along.
And now let's check this out.
I want to remove our this part.
Right.
That is our this folder.
And I want to run it again.
There's a button that is our field commanders are setting that fight as they enter.
Yes.
Now, considering now it's also gone.
So before that, actually outputting our my first project and then I want another folder as a my first
project to now is actually perfectly getting our this directly that the actually I want to access.
OK, so here I just simply define our this directly and this directly data so that here I defined with
this screen.
So now it's perfectly getting our appropriate this file location.
So here I want to do after this part, that means after this directly I want to join our these templates.
Right.
So here I want to join all these templates.
So if you want to join it like here, I want to check it.
So you hear it from the Chinese right now.
We don't need this.
There is a path and we need it.
So I just simply remove it.
OK, after this, I want to join the final the part and then join.
And I joined our base, you are also our base tricked, so here I have already defined all that.
All right.
That is our appropriately so.
I just simply copied.
So now with this base juked, with this base dialect here after this, I want to do I want to add our
and I want I want to add our D-Link that the template.
So I don't want to simply define the template, make sure your spelling is correct.
So that is our folder name as a Templar's folder.
Right.
And so after they build base directly and after that, I just simply join our another folder name as
a template.
So now let's check this out if you now, because I save all the notes, should be very much clear to
you.
Previously, that was the first project.
So now if you going up and fine setting not five click going to enter.
Yes.
Now can see friend.
Now asexually join our this part that is our file project directly and after that each join our template.
So that is actually our template.
I just simply added that thinks you are on here.
So now that is actually the part I'm actually looking for.
So right now we don't need to print it.
So here I want to do I want to take one of the variable for this one.
So there is also another one.
We have to remove it.
OK, so I just simply moubayed.
So here I want to undertake another variable for this one.
I just named that variable as a template.
OK, templates underscore directly the data is in short form.
I just simply defined as a template so into the templates underscore desire and here I take one of the
variable and it is variable.
I simply define our path.
So here I have already checked it.
So that is our part I want to define.
So I want to take this path and take the things with this variable as a template.
Underscore, dear friend, I hope is very much clear to you.
So now we have to do we have to also define our D variable cause here I have already getting our appropriate
path and take the things with these variables and I just simply copied.
And now in our setting here, they have also another option that the template option you can see into
the templates, that is the trajectory.
So into this directory area, we have to define our DC model parts.
I just simply define our this path in particular that area.
OK, so you just simply defined that path on here.
I hope you can will understand about it.
And now we have to do we have to load our templates, statements in our campus that they are Fastweb,
that is our index yaml.
So now we have to do we have to view it.
So if you want to view it in our view area, I have already defined as the index one of the functions
right now, we don't need this.
I just simply remove it.
And here, if you want to now load all this General Pace that Missier from the Lordi, then you have
to, first of all, define the dictionary.
So here I define as a dictionary.
OK, sorry.
So I just simply defined as addiction and right now I just make the things as empty.
With this.
You can actually pass on the value.
I will show you that things later and then I just simply define as a return.
OK, return and the render.
So I just simply defined as a random one of the function and the render function is actually defined
with the three parameter.
One will be as a request like that is actually our request source will be passing that request and there
will be our file that that the file I have already finding our template in our fast app that see in
our foster folder.
And that is our index file.
Right.
So here you have to define your fast.
If I, if I sti OK, fast underscore app and the fast app that is our filename as indexed html.
So here I just simply defined our indexed rather stable file.
And after that also there is another parameter is defined as a context.
I just simply defined as the context and the context right now to parse out this dictionary addiction's
I just simply pass it on here.
So here I am using the trender.
Surrender is the default on the function of the function and here to the render that the past two three
of this parameter, one is the required parameter and there is a file that is your view file and then
the context.
OK, so now here that is our index.
So that is our index function in the index function.
If you go to our you Auriol, that means in our fast and the result you are in here.
I have already defined on the part as a customer.
Right.
Simply this customer.
I include our fast step.
You are also now I want to do check it.
So now if you click as a Savol I just click it to save all the right now to do and run our our server.
So here I just click as a new one that is all Django POSIX so just in front of the CD and the end product.
So now I just simply find an item like Python and the menus don't fight and then run server.
You're going to enter.
So now here you can see it's not showing some of the arrows, as you know, are part of the contact
you already have already defined, in our view, contact.
So that is our first step.
Well, that means our faster.
If you go to that faster PRL here, you can say the final, the contact threatening.
We don't need this.
I just simply remove it.
They just simply bit because I have already deflected that view from our area.
Right.
For this is actually showing this area now, as I say.
Well, again, so if you get any at all, it will be displayed.
This area in particular, that area first either then it shall be displayed or Sahba.
Right.
So now you can see it's not perfectly showing our support.
So I just simply copy that.
Now, if you want to access it, I have already defined all the warrell.
So that is our custom right to now go here and that is our base.
I just refresh it now on to do in Texas our this custom clinkers enter.
Yes.
Now cancer free.
Now our e-mail base is now perfectly loaded.
So there is actually that this is the home base of stamps.
So here I have defined that base.
That means you our index.
So that is our index based in our template, so that our index you can see so perfectly now getting
that our pace.
So that is actually our pace.
Right.
I hope you will understand about this.
So here, if you want to change anything, OK, if you can change it and click as I save all and now
if you refresh it yourself are.
So that's how you can actually include your e-mail file.
I hope you can will understand about it so that it's general file.
So it's now perfectly updated.
And also here in our view, I have the final of the dictionary.
So how actually working with this dictionary.
So from here you can actually pass on the ID like here I define the idea as a text book.
I just simply defined the text, underscore one for this type of the idea.
And here if you want to pass out the data, then you can also pass on the data.
OK, so here I just simply defined like as a I am a text send from view.
OK, views.
Fine.
So this step up one of the text I want to pass.
So if you want to now visibility front of visible visibility in your page, that view page you can visibility
with this idea.
OK, like that is our view as Tamalpais so that the index is Tamalpais after these here.
If you want to pull some of the H2 tag, OK, you can also find some days to tag whatever you want.
So right now you can define that as to tag on that area.
And after that, if you want to display your this idea, then you have to define that Double-Click bracket.
And here you have to simply text your this idea.
OK, so that's all you have to do.
Now click as I say.
Well, I just click here to save all.
And now, if you refresh it, yeah, you can see that is actually our H to the tag and also here a person
died.
That was from our addiction.
And with this addiction diagnosis to perfectly getting that our appropriate data, that means this message
is now perfectly visible.
So in our view here with distinction, I just simply pass one of the ideas here are all the text.
I just positive from the visible lead.
Then you can dynamically visible that things with this with this idea, I hope is very much clear to
your friend.
How can load on the e-mail pace, how can load it?
How can we believe everything is not perfectly working?
In our next video, I will discuss about how you can add your all that static file that means for state
e-mail file that have solved the case file.
You need some of the Jésus file.
Right.
And also if you want to display some of the images.
So for the reasons I have already defined one of the e-mail templates.
So that is our template area.
So if you want to add all that, your static file data, then how can I add that the static file that
you know, next video, I will show you that things with the live example.
So thanks for watching and I will see you in the next video.