1
00:00:00,180 --> 00:00:01,770
Hello, friend, welcome back.

2
00:00:02,100 --> 00:00:06,780
In a previous video I have discussed about how can working with that include Methode?

3
00:00:06,850 --> 00:00:12,120
So now in this video, I want to discuss about how you can pass some of the data in your template.

4
00:00:12,510 --> 00:00:18,210
So for doing this like that is our home base or into the home base area, as I told you before, that

5
00:00:18,210 --> 00:00:19,570
it actually comes from.

6
00:00:19,980 --> 00:00:21,690
So right now we don't need this.

7
00:00:21,690 --> 00:00:24,610
I just simply remove everything from here, OK?

8
00:00:25,200 --> 00:00:29,040
So as I told you into the main portfolio area, that is all you oriels.

9
00:00:29,070 --> 00:00:32,970
So here I am, one of the wall and into the views I created.

10
00:00:32,970 --> 00:00:37,160
I have created one of the functions as a home function that feeds into the view.

11
00:00:37,650 --> 00:00:39,250
So that is our home functions.

12
00:00:39,270 --> 00:00:39,470
Right.

13
00:00:39,780 --> 00:00:44,520
Since the home functions area, I just simply returned render our index daughters stable.

14
00:00:44,880 --> 00:00:50,310
So now here from here I want to do and actually pass out the data and here I want to load this data

15
00:00:50,310 --> 00:00:51,870
in our index has Tamalpais.

16
00:00:52,050 --> 00:00:55,380
So for doing this, you have to do you have to work with the diction.

17
00:00:55,380 --> 00:00:57,140
So how can do that work.

18
00:00:57,150 --> 00:00:58,770
I show you for doing this.

19
00:00:58,770 --> 00:01:04,140
First of all, I want to do it and actually take one of the variables and I just named that variable

20
00:01:04,140 --> 00:01:04,800
ADAPTIX.

21
00:01:05,020 --> 00:01:11,950
OK, in JavaScript you have to actually define one of the type like as a type plate type or the cornerstone

22
00:01:11,970 --> 00:01:13,740
type that is a variable type.

23
00:01:13,740 --> 00:01:19,070
And also in PSP, if you want to declare some of the variable, then you have to declare it with a dollar

24
00:01:19,080 --> 00:01:19,350
sign.

25
00:01:19,360 --> 00:01:19,640
Right.

26
00:01:19,860 --> 00:01:22,140
But in general, you don't need to do anything.

27
00:01:22,290 --> 00:01:24,180
You can name it as per your demons.

28
00:01:24,190 --> 00:01:29,070
Right now, I just simply name one of the variable name as a text that the text area.

29
00:01:29,070 --> 00:01:31,610
I just simply added on of the diction.

30
00:01:31,710 --> 00:01:34,020
So into the discussion area.

31
00:01:34,020 --> 00:01:35,640
Actually they have the two parameter.

32
00:01:35,640 --> 00:01:37,510
One is the key and that is the value.

33
00:01:37,860 --> 00:01:42,340
OK, so for now, first of all, I want to do want to add one of the key.

34
00:01:42,750 --> 00:01:45,930
So now I just simply added one of the key, whatever he wants.

35
00:01:46,000 --> 00:01:49,980
Now I just name the key name will be as a name and under the name area.

36
00:01:49,980 --> 00:01:52,180
I want to put sound data.

37
00:01:52,200 --> 00:01:55,980
So here I name it one of the string that as a Kazarian.

38
00:01:56,490 --> 00:01:58,050
OK, Arial.

39
00:01:58,500 --> 00:01:59,820
So that is our standard.

40
00:01:59,830 --> 00:02:02,820
And also here I want to do and add another key.

41
00:02:03,300 --> 00:02:05,110
I just name it as whatever you want.

42
00:02:05,150 --> 00:02:06,720
So now I just came out to the A's.

43
00:02:07,150 --> 00:02:09,720
So right now I don't have any database for the results here.

44
00:02:09,720 --> 00:02:13,270
I just simply pass out the data like that we see in our dictionary.

45
00:02:13,450 --> 00:02:18,960
So I just simply added one of the that will be our key and here for the key keets.

46
00:02:19,320 --> 00:02:25,890
So for the A's I want to do added or not in the data as a fifty.

47
00:02:26,020 --> 00:02:28,750
OK, so just name it as a or tarty.

48
00:02:29,010 --> 00:02:35,670
OK, so I just named that A's will be at thirty and also I take another key, I just take another key

49
00:02:35,670 --> 00:02:42,570
as a form and for the phone I want to do I want to make that as a phone will be whatever you want.

50
00:02:42,640 --> 00:02:47,040
So right now I just focus on the desert value so they step up on the phone number.

51
00:02:47,400 --> 00:02:47,630
OK.

52
00:02:48,060 --> 00:02:53,490
So now I want to do I want to actually pass out this dish and all that, our key value data sound.

53
00:02:53,490 --> 00:02:57,400
Do I just take all the things with and take the things with this variable?

54
00:02:57,660 --> 00:03:03,480
So now if you want to pass this data to over this indexed statistical template area, then only you

55
00:03:03,480 --> 00:03:05,460
have to do you have to pass this variable.

56
00:03:05,520 --> 00:03:09,660
OK, so here you have to do you have to simply pass this variable?

57
00:03:09,660 --> 00:03:10,980
You don't need to do anything.

58
00:03:11,160 --> 00:03:12,420
So that is our text.

59
00:03:12,870 --> 00:03:18,870
So now we can actually display our this takes all that our key in our industry estimates and now go

60
00:03:18,870 --> 00:03:20,160
to our index.

61
00:03:20,550 --> 00:03:22,230
That means our template area.

62
00:03:22,230 --> 00:03:23,500
That is our index system.

63
00:03:24,030 --> 00:03:28,480
So now here I want to do and actually displayed that on display are all the key value.

64
00:03:28,500 --> 00:03:33,880
So if you want to do that work better than to take one of the bettag and the PAETEC area, I just named

65
00:03:33,880 --> 00:03:34,860
me as the name.

66
00:03:35,280 --> 00:03:38,010
I want to display that name out here.

67
00:03:38,010 --> 00:03:41,940
If you want to display, then you have to add it with the Double-Click bracket.

68
00:03:42,210 --> 00:03:46,210
And from here I posit that our key name, Olcay name is the name.

69
00:03:46,230 --> 00:03:46,560
Right.

70
00:03:46,830 --> 00:03:51,390
So here when you want to show that value, you have to just simply display your name.

71
00:03:51,420 --> 00:03:54,240
So now I just simply added our name.

72
00:03:54,240 --> 00:03:57,550
You name will be as a name, so I just simply added that name.

73
00:03:58,240 --> 00:04:01,860
OK, so now I want to do the same things for our test of this.

74
00:04:02,400 --> 00:04:08,100
That means that will be the A's and that will be our form.

75
00:04:09,930 --> 00:04:10,830
That will be our form.

76
00:04:10,860 --> 00:04:15,720
So for the A's I have a declared one of our key as the A's.

77
00:04:15,930 --> 00:04:21,980
So now I just simply added that as the A's and also for the form that is our key.

78
00:04:22,560 --> 00:04:24,600
I just simply name it as a form.

79
00:04:25,080 --> 00:04:33,870
So now if you click as this Savol, if you look at the table and now if you refresh it, yes, you can

80
00:04:33,870 --> 00:04:34,900
see perfectly.

81
00:04:34,900 --> 00:04:35,790
It's not visible.

82
00:04:35,800 --> 00:04:38,060
That is our name and that is our key value.

83
00:04:38,370 --> 00:04:39,420
So that is our value.

84
00:04:39,450 --> 00:04:44,660
I have added there's a gazillion tarty and that is our phone number.

85
00:04:45,120 --> 00:04:47,910
So I hope is very much clear to you.

86
00:04:47,920 --> 00:04:53,580
So into the dictionary, I just put the key and the value so that your key name has a name A's and the

87
00:04:53,580 --> 00:04:54,020
phone.

88
00:04:54,270 --> 00:04:55,700
I just simply pass it.

89
00:04:55,830 --> 00:04:59,910
I just take all the data and take the things with this variable and the.

90
00:05:00,110 --> 00:05:05,090
I just simply downloaded in our indexers, Tamalpais, so in particular that position, I just simply

91
00:05:05,090 --> 00:05:06,990
pass all that our data, right?

92
00:05:07,280 --> 00:05:11,540
So now if you want to display it, you can display using that at your key names.

93
00:05:11,540 --> 00:05:15,620
So I just simply show all the key name as the name is and the phone.

94
00:05:15,890 --> 00:05:19,420
And now you can see it's not perfectly visible in particular that position.

95
00:05:19,580 --> 00:05:21,390
So that is very basic thing.

96
00:05:21,420 --> 00:05:23,330
So just take that idea, OK?

97
00:05:23,420 --> 00:05:25,170
Just remember that part.

98
00:05:25,190 --> 00:05:32,430
So how can I pass out that data to the base so literally will work more deep with this next video.

99
00:05:32,450 --> 00:05:34,480
I want to discuss about that for Loop.

100
00:05:34,490 --> 00:05:38,840
How can working with the for Loop in Django how can display that data?

101
00:05:38,840 --> 00:05:42,190
In our next video, I will show you that things with the live example.

102
00:05:42,650 --> 00:05:46,160
So thanks for watching and I will see you in the next video.
