Hello, friend, welcome back.
In a previous video I have discussed about how can working with that include Methode?
So now in this video, I want to discuss about how you can pass some of the data in your template.
So for doing this like that is our home base or into the home base area, as I told you before, that
it actually comes from.
So right now we don't need this.
I just simply remove everything from here, OK?
So as I told you into the main portfolio area, that is all you oriels.
So here I am, one of the wall and into the views I created.
I have created one of the functions as a home function that feeds into the view.
So that is our home functions.
Right.
Since the home functions area, I just simply returned render our index daughters stable.
So now here from here I want to do and actually pass out the data and here I want to load this data
in our index has Tamalpais.
So for doing this, you have to do you have to work with the diction.
So how can do that work.
I show you for doing this.
First of all, I want to do it and actually take one of the variables and I just named that variable
ADAPTIX.
OK, in JavaScript you have to actually define one of the type like as a type plate type or the cornerstone
type that is a variable type.
And also in PSP, if you want to declare some of the variable, then you have to declare it with a dollar
sign.
Right.
But in general, you don't need to do anything.
You can name it as per your demons.
Right now, I just simply name one of the variable name as a text that the text area.
I just simply added on of the diction.
So into the discussion area.
Actually they have the two parameter.
One is the key and that is the value.
OK, so for now, first of all, I want to do want to add one of the key.
So now I just simply added one of the key, whatever he wants.
Now I just name the key name will be as a name and under the name area.
I want to put sound data.
So here I name it one of the string that as a Kazarian.
OK, Arial.
So that is our standard.
And also here I want to do and add another key.
I just name it as whatever you want.
So now I just came out to the A's.
So right now I don't have any database for the results here.
I just simply pass out the data like that we see in our dictionary.
So I just simply added one of the that will be our key and here for the key keets.
So for the A's I want to do added or not in the data as a fifty.
OK, so just name it as a or tarty.
OK, so I just named that A's will be at thirty and also I take another key, I just take another key
as a form and for the phone I want to do I want to make that as a phone will be whatever you want.
So right now I just focus on the desert value so they step up on the phone number.
OK.
So now I want to do I want to actually pass out this dish and all that, our key value data sound.
Do I just take all the things with and take the things with this variable?
So now if you want to pass this data to over this indexed statistical template area, then only you
have to do you have to pass this variable.
OK, so here you have to do you have to simply pass this variable?
You don't need to do anything.
So that is our text.
So now we can actually display our this takes all that our key in our industry estimates and now go
to our index.
That means our template area.
That is our index system.
So now here I want to do and actually displayed that on display are all the key value.
So if you want to do that work better than to take one of the bettag and the PAETEC area, I just named
me as the name.
I want to display that name out here.
If you want to display, then you have to add it with the Double-Click bracket.
And from here I posit that our key name, Olcay name is the name.
Right.
So here when you want to show that value, you have to just simply display your name.
So now I just simply added our name.
You name will be as a name, so I just simply added that name.
OK, so now I want to do the same things for our test of this.
That means that will be the A's and that will be our form.
That will be our form.
So for the A's I have a declared one of our key as the A's.
So now I just simply added that as the A's and also for the form that is our key.
I just simply name it as a form.
So now if you click as this Savol, if you look at the table and now if you refresh it, yes, you can
see perfectly.
It's not visible.
That is our name and that is our key value.
So that is our value.
I have added there's a gazillion tarty and that is our phone number.
So I hope is very much clear to you.
So into the dictionary, I just put the key and the value so that your key name has a name A's and the
phone.
I just simply pass it.
I just take all the data and take the things with this variable and the.
I just simply downloaded in our indexers, Tamalpais, so in particular that position, I just simply
pass all that our data, right?
So now if you want to display it, you can display using that at your key names.
So I just simply show all the key name as the name is and the phone.
And now you can see it's not perfectly visible in particular that position.
So that is very basic thing.
So just take that idea, OK?
Just remember that part.
So how can I pass out that data to the base so literally will work more deep with this next video.
I want to discuss about that for Loop.
How can working with the for Loop in Django how can display that data?
In our 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.