1
00:00:00,180 --> 00:00:00,880
Hello, friend.

2
00:00:00,900 --> 00:00:01,680
Welcome back.

3
00:00:02,010 --> 00:00:07,590
In a previous video, I have compared both of these with the function best view and the clouds view,

4
00:00:07,800 --> 00:00:15,240
and here I can display your sound data with the function and also how can display your data with the

5
00:00:15,240 --> 00:00:16,080
Clausewitz's view.

6
00:00:16,080 --> 00:00:17,770
I have discussed about that things with you.

7
00:00:18,150 --> 00:00:23,430
So now if you want to load some of the template right now here, there is only our taxes visible.

8
00:00:23,440 --> 00:00:28,620
So here, if you want to load some of the template, how can display this template so into the function

9
00:00:28,620 --> 00:00:33,030
view, what exactly we did with the function view here, we define that, things like that.

10
00:00:33,030 --> 00:00:36,020
We as a return and render right.

11
00:00:36,030 --> 00:00:37,010
Return, render.

12
00:00:37,050 --> 00:00:40,200
And here we have we have to do we have to pass that request.

13
00:00:40,410 --> 00:00:43,050
And with this request, we pass our template name.

14
00:00:43,680 --> 00:00:43,990
Right.

15
00:00:44,010 --> 00:00:45,900
So here we passed our template name.

16
00:00:45,900 --> 00:00:53,010
And after that we define that as a context so that this context area, we just pass our whatever the

17
00:00:53,010 --> 00:00:54,310
data, we will pass.

18
00:00:54,330 --> 00:00:57,180
So here I just pass that things into the template area.

19
00:00:57,510 --> 00:00:57,840
Right.

20
00:00:58,020 --> 00:00:59,220
So there is a clear function.

21
00:00:59,220 --> 00:01:02,660
BISBAL So now I want to work with our classifiers view.

22
00:01:02,680 --> 00:01:07,730
So if you want to add this template into the Clausewitz's view, how can added in this video?

23
00:01:07,740 --> 00:01:14,210
I'll show you that things with the live example for doing this before I have use all that template templates

24
00:01:14,220 --> 00:01:16,290
folder area into the template area.

25
00:01:16,290 --> 00:01:19,650
I have played along the first steps right into the final step.

26
00:01:19,650 --> 00:01:22,220
I have created all that out as Tamalpais.

27
00:01:22,530 --> 00:01:25,410
So now I want to do I don't want to use this template.

28
00:01:25,410 --> 00:01:30,740
So I as I told you, they have a lot of the application you have to create for your project.

29
00:01:30,960 --> 00:01:36,030
So if you want to create your all that application related template into the application area, you

30
00:01:36,030 --> 00:01:37,300
can also defining it.

31
00:01:37,320 --> 00:01:40,070
OK, so right now there is our template text.

32
00:01:40,070 --> 00:01:42,500
So right now we don't need this, but I just simply remove it.

33
00:01:42,510 --> 00:01:43,650
I just simply deflect it.

34
00:01:44,400 --> 00:01:49,790
So before for the filter I have you created it so I don't want to do in our first application area and

35
00:01:49,820 --> 00:01:55,590
to create another folder because I want to add all that our template up in the first step related template

36
00:01:55,590 --> 00:01:56,730
in our step area.

37
00:01:56,770 --> 00:01:58,620
So far, the results in our Fastweb area.

38
00:01:58,620 --> 00:02:03,010
I don't want to create one of the folder and I just named this folder as a template.

39
00:02:04,390 --> 00:02:06,210
OK, just name it as a template.

40
00:02:06,210 --> 00:02:09,750
And it is the template for the very own to do and to create another folder.

41
00:02:10,020 --> 00:02:11,880
And I just name it as a fast step.

42
00:02:13,080 --> 00:02:15,180
OK, fast underscore app.

43
00:02:15,540 --> 00:02:21,030
So just like that, same before I just before I created it outside our project.

44
00:02:21,180 --> 00:02:24,560
So now I just create our all the template in our application area.

45
00:02:24,570 --> 00:02:27,380
So that is our template and that is our fast step.

46
00:02:27,660 --> 00:02:30,780
So do the first step, the I want to do and to create one of the new file.

47
00:02:30,840 --> 00:02:34,240
And here I named that file like the index dot is HTML.

48
00:02:34,800 --> 00:02:36,810
So just name it as the index, this table.

49
00:02:37,020 --> 00:02:37,390
Right.

50
00:02:37,710 --> 00:02:43,950
So here I defined the aim, our XHTML as Jim'll Tag and into the body area.

51
00:02:43,980 --> 00:02:48,630
I define one of the H1 tag and here I define as I am a template.

52
00:02:51,130 --> 00:02:56,950
So just name it as I am a template, so now I want to do I want to load this hour this template, that

53
00:02:56,980 --> 00:02:59,600
misery index template in our class area.

54
00:02:59,620 --> 00:03:02,350
So go to the class so that we don't need this.

55
00:03:02,350 --> 00:03:03,590
I just simply remove it.

56
00:03:03,610 --> 00:03:06,190
OK, I hope you can understand about it for the function.

57
00:03:06,190 --> 00:03:08,020
We have called it like that way.

58
00:03:08,050 --> 00:03:10,430
So now we want to call it in our class area.

59
00:03:10,840 --> 00:03:12,250
So now I just simply remove it.

60
00:03:12,340 --> 00:03:14,960
OK, so now into this class area.

61
00:03:14,980 --> 00:03:16,930
So here we don't need this here.

62
00:03:16,930 --> 00:03:18,480
I just simply remove everything.

63
00:03:18,490 --> 00:03:22,440
And first of all, here we have to do we have to add another class.

64
00:03:22,450 --> 00:03:25,520
So in particular, that position we have been put down in the class.

65
00:03:25,870 --> 00:03:31,300
So after this, I have to do they have also one the jungle in our view, and that into the genitally

66
00:03:31,510 --> 00:03:34,210
that I'm also building class as a template view.

67
00:03:34,660 --> 00:03:38,340
So now we have to call it template and view.

68
00:03:38,600 --> 00:03:40,310
OK, so that is the template view.

69
00:03:40,540 --> 00:03:44,180
So this template will be inherited without this class.

70
00:03:44,200 --> 00:03:45,730
So now we have to pass it.

71
00:03:46,180 --> 00:03:47,800
OK, different step by step.

72
00:03:47,860 --> 00:03:51,690
Everything will be very much getu and then we have to define our template.

73
00:03:52,000 --> 00:03:56,890
So I just simply defined the template name, the template underscore name.

74
00:03:56,890 --> 00:04:01,900
And here I just defined our template name into the first application.

75
00:04:02,050 --> 00:04:05,430
That means here in Tampa area, I have defined that first step.

76
00:04:05,440 --> 00:04:08,640
So the first step I have created one of the index e-mail.

77
00:04:08,660 --> 00:04:09,820
So that is our index system.

78
00:04:11,170 --> 00:04:16,140
So now here I just simply call it as a fast, fast underscore app.

79
00:04:16,140 --> 00:04:21,160
And here I have created index dot estimate how much easier it is you can see.

80
00:04:21,190 --> 00:04:22,670
So that is the things we have to do.

81
00:04:22,960 --> 00:04:24,460
So here I just simply call it.

82
00:04:24,760 --> 00:04:31,360
But here one thinks if you now directly call it automatically, it should be redirected to our main

83
00:04:31,360 --> 00:04:31,840
template.

84
00:04:31,840 --> 00:04:33,380
That means into the main competitor.

85
00:04:33,380 --> 00:04:38,930
Yeah, I have also created as a fast tab and here you can say have also created an index e-mail.

86
00:04:39,280 --> 00:04:42,190
So by default it should be load this one fast.

87
00:04:42,200 --> 00:04:47,140
OK, because of all here, if you want to deflect it, then you can be elected then automatically our

88
00:04:47,140 --> 00:04:47,820
dysfunction.

89
00:04:47,830 --> 00:04:50,770
That means this application, this template will be run.

90
00:04:51,160 --> 00:04:56,020
But rather than by default, because the the same thing that is a template and the fast tab and that

91
00:04:56,050 --> 00:05:01,690
index has HTML and by default it should be first of all, choose this one that this template folder

92
00:05:01,690 --> 00:05:07,840
and the Fastweb, and that is our index system so that no, I cheer for you, then it'll be very clear

93
00:05:07,840 --> 00:05:08,170
to you.

94
00:05:08,170 --> 00:05:09,760
Like I just remember everything.

95
00:05:09,760 --> 00:05:15,640
And here at the front of this HTML, one of the tag and here I take one of the H1, OK, I take all

96
00:05:15,640 --> 00:05:22,270
the H1 as I am from project template folder.

97
00:05:23,620 --> 00:05:25,980
So this step up one of the text, I want to visible it.

98
00:05:26,140 --> 00:05:28,880
So here you don't need to do anything automatically.

99
00:05:28,880 --> 00:05:31,940
You'd still be getting that our this first of all actually.

100
00:05:31,960 --> 00:05:36,260
So we load our this template, that main template file step and that is our index.

101
00:05:36,280 --> 00:05:39,640
OK, so we load this one up in this one.

102
00:05:39,670 --> 00:05:45,400
So now let's take this out if you know, because they say, well now if you refresh it.

103
00:05:46,490 --> 00:05:52,730
Yes, now, considering now automatically is getting out this template, as I am from project template

104
00:05:52,750 --> 00:05:57,260
folder, that means it by default is getting our main template and the template.

105
00:05:57,260 --> 00:05:59,360
I have created that e-mail index.

106
00:05:59,630 --> 00:06:03,060
So that is the index as general data is now getting that things on here.

107
00:06:03,290 --> 00:06:05,780
So here I don't want to load out this template.

108
00:06:05,780 --> 00:06:11,060
I want to load our project that in our application area I have created the template and here I have

109
00:06:11,060 --> 00:06:12,380
created that index system.

110
00:06:13,010 --> 00:06:14,800
So I want to load our space.

111
00:06:15,170 --> 00:06:18,140
So for the reasons here, you have to do we have to just simply deflect it.

112
00:06:18,140 --> 00:06:21,920
So right now I just simply delete it like here if you deflective.

113
00:06:21,930 --> 00:06:23,620
So I just simply deleted right now.

114
00:06:24,320 --> 00:06:25,100
OK, I just simply.

115
00:06:25,850 --> 00:06:29,440
Now what will be happen like here if you now refresh it.

116
00:06:29,750 --> 00:06:30,540
Yes.

117
00:06:30,560 --> 00:06:37,280
Now if it now is automatically getting out this template fast and here I have defined for the node as

118
00:06:37,280 --> 00:06:38,980
a I am a template.

119
00:06:39,530 --> 00:06:41,560
So now I think it's very much clear to you.

120
00:06:41,930 --> 00:06:47,420
So here, if you don't go to a fast tap into the template, into the first application that are indexed

121
00:06:47,420 --> 00:06:53,070
and you can see now actually getting our D indexed pace, that means that is actually our index data

122
00:06:53,090 --> 00:06:54,330
is not perfectly visible.

123
00:06:54,350 --> 00:06:55,820
So right now, we don't need this.

124
00:06:55,820 --> 00:06:57,980
I don't want to access our main template.

125
00:06:57,980 --> 00:07:01,340
So for the reasons here, but I want to go to rename it.

126
00:07:01,340 --> 00:07:03,990
I just see you name it and I just make the things as a temp.

127
00:07:04,610 --> 00:07:07,370
OK, I actually don't need this for the reasons here.

128
00:07:07,700 --> 00:07:08,930
I have just changed that.

129
00:07:08,930 --> 00:07:09,530
Our folder.

130
00:07:09,860 --> 00:07:10,300
Perfect.

131
00:07:10,700 --> 00:07:15,950
So now I want to do I want to discuss about before we end the functionality, we have passed all the

132
00:07:15,950 --> 00:07:19,160
data with the specific some of the base with the context.

133
00:07:19,160 --> 00:07:19,390
Right.

134
00:07:19,580 --> 00:07:24,470
Like if you want to get all the data from the database and here if you want to take that into it, some

135
00:07:24,470 --> 00:07:30,290
of the variable and here you going to pass it into that in this e-mail, how can do that work into the

136
00:07:30,290 --> 00:07:30,590
clouds?

137
00:07:30,590 --> 00:07:35,020
This view, if you want to display, then you have to do we have to create one of the another function?

138
00:07:35,030 --> 00:07:38,150
So I just simply define another function as a function.

139
00:07:38,150 --> 00:07:42,370
And then they have also one of the function as the get contextless.

140
00:07:42,380 --> 00:07:47,250
I just simply defined the gate and the context, OK, it contains data.

141
00:07:47,780 --> 00:07:50,150
So with this function you can actually defining it.

142
00:07:50,160 --> 00:07:54,770
So as I told you before, if you create any function into the class idea, first of all, we have to

143
00:07:54,770 --> 00:07:56,900
do we have to declare it with the self.

144
00:07:57,370 --> 00:08:01,490
So I just simply defined as a self entered the self after the self here.

145
00:08:01,490 --> 00:08:06,230
If you want to pass some of the multiple argument, OK, that is multiple key argument.

146
00:08:06,230 --> 00:08:10,850
If you want to pass it, then you have to write down as a double lyster and then key.

147
00:08:11,030 --> 00:08:13,400
That is the key, that is KW.

148
00:08:13,580 --> 00:08:17,060
And then the argument is yes, that means here.

149
00:08:17,060 --> 00:08:20,060
Now you can add that multiple keyword argument.

150
00:08:20,060 --> 00:08:24,440
So if you want to add that multiple keyword argument, then you have to define that things with the

151
00:08:24,440 --> 00:08:27,500
double ister and the W.K. That is the key word.

152
00:08:27,680 --> 00:08:29,850
And then actually that is our argument.

153
00:08:29,870 --> 00:08:32,210
OK, so like it will be like that.

154
00:08:32,210 --> 00:08:34,250
Will it be part the data?

155
00:08:34,490 --> 00:08:35,680
So here is the response.

156
00:08:35,720 --> 00:08:40,190
First of all, the key that Minsky's means actually this one, OK?

157
00:08:40,370 --> 00:08:42,850
And also it will be passed on the value.

158
00:08:43,220 --> 00:08:44,630
So there is a value.

159
00:08:44,630 --> 00:08:45,940
So shall we pass that value?

160
00:08:46,190 --> 00:08:47,440
So that will be the key.

161
00:08:47,450 --> 00:08:48,850
That means this one is really key.

162
00:08:48,870 --> 00:08:53,480
So you can add that multiple key and also you can pass all the multiple arguments.

163
00:08:53,480 --> 00:08:55,050
So that is all that our value.

164
00:08:55,280 --> 00:08:55,520
OK.

165
00:08:55,830 --> 00:08:59,810
So if you want to parse some of the multiple key argument, then you have to use this one.

166
00:08:59,960 --> 00:09:02,300
I think it is very much clear to you.

167
00:09:02,930 --> 00:09:06,980
So now here I don't want to define all of the argument as a context.

168
00:09:07,190 --> 00:09:11,940
OK, this is simply defined as argument or the context and with the super function.

169
00:09:12,380 --> 00:09:17,720
So with the super functions, what exactly the super function did, as I told you before, that means

170
00:09:17,720 --> 00:09:20,880
you should be get your all the database table filled that are right.

171
00:09:21,020 --> 00:09:27,070
So now to do to get our all that our database fill that I and I just take the things with our disk,

172
00:09:27,080 --> 00:09:28,560
get context that area.

173
00:09:28,970 --> 00:09:33,740
So I just simply defined as a gate and then into that the countries that are here.

174
00:09:33,740 --> 00:09:35,850
I want to proceed with this argument.

175
00:09:35,870 --> 00:09:38,540
OK, so here we have two also defining it.

176
00:09:38,550 --> 00:09:42,850
So I get all that our data and then I just simply pass it.

177
00:09:43,070 --> 00:09:48,410
That means this super function will get all the data from our database and this data will be passing

178
00:09:48,410 --> 00:09:49,950
our gate counters that area.

179
00:09:49,970 --> 00:09:51,590
So here I just simply pass it.

180
00:09:51,740 --> 00:09:56,690
So now if you want to display all that, your key value, then I by step, everything will look very

181
00:09:56,710 --> 00:09:57,710
much like here.

182
00:09:57,710 --> 00:10:01,910
With this context, with this context, I want to pass some of the key like here.

183
00:10:01,910 --> 00:10:09,190
I just simply pass on the key as a sample, OK, sample, underscore text and second one.

184
00:10:09,470 --> 00:10:11,050
So that is one of the key.

185
00:10:11,210 --> 00:10:13,300
And here I have to do I have to pass that value.

186
00:10:13,310 --> 00:10:13,590
Right.

187
00:10:13,610 --> 00:10:16,460
So just simply define that value will be as a sample.

188
00:10:18,850 --> 00:10:22,630
Sample test takes one.

189
00:10:22,900 --> 00:10:29,380
So that is the one and also I want to pass another one that means here with this context, I want to

190
00:10:29,380 --> 00:10:34,590
pass the sample text to and here there is our value will be as a sample text.

191
00:10:35,140 --> 00:10:42,490
So now if you want to visibly, then you can visibly if you go to our index and the index here, I want

192
00:10:42,490 --> 00:10:43,180
to display it.

193
00:10:43,180 --> 00:10:44,880
So if you want to display.

194
00:10:45,640 --> 00:10:47,320
So I just simply displayed.

195
00:10:47,320 --> 00:10:49,000
So that is our key.

196
00:10:49,000 --> 00:10:50,380
We have to define our key.

197
00:10:50,380 --> 00:10:51,730
Is that our text?

198
00:10:52,000 --> 00:10:53,110
That means a simple text.

199
00:10:53,110 --> 00:10:56,110
Once I just simply copied it here, I just simply passed it.

200
00:10:56,470 --> 00:10:59,800
And also they have the other one, another one.

201
00:10:59,800 --> 00:11:04,510
I have defined the key as a simple text to say, just simply defined as a simple text, too.

202
00:11:05,140 --> 00:11:07,170
So now we have to do we have to return it.

203
00:11:07,180 --> 00:11:08,620
So here after this.

204
00:11:09,040 --> 00:11:09,760
After this.

205
00:11:09,760 --> 00:11:11,230
I just simplified the return.

206
00:11:12,220 --> 00:11:12,790
Sorry.

207
00:11:15,050 --> 00:11:21,410
Written and then context, so we have to retain our this context, so here I have already defined our

208
00:11:21,410 --> 00:11:26,780
multiple keyword arguments for the reasons you can say that at multiple value and the key.

209
00:11:26,990 --> 00:11:31,300
And here and now I returned it and now I displayed in our index base.

210
00:11:31,310 --> 00:11:33,180
So that is our our all the key.

211
00:11:33,470 --> 00:11:37,310
So I have defined that things with the simple text and the simple text, too.

212
00:11:37,670 --> 00:11:42,290
So now if you because I save all not only for you, refresh it.

213
00:11:43,320 --> 00:11:48,400
Now, you can see it's not perfectly getting our disvalue as a sample text one and the sample text,

214
00:11:48,400 --> 00:11:51,810
too, I hope is very much clear to your friend.

215
00:11:51,810 --> 00:11:52,600
So don't worry.

216
00:11:52,720 --> 00:11:55,340
Step by step, everything will be more clear to you.

217
00:11:55,770 --> 00:11:58,050
So here I have this about the complete view.

218
00:11:58,080 --> 00:12:02,790
So now we can actually load our template and also pass our all that value.

219
00:12:02,910 --> 00:12:05,700
So we pass it and also be displayed in our view.

220
00:12:05,700 --> 00:12:06,830
Base Synon.

221
00:12:06,870 --> 00:12:09,440
Next video I want to display in our database.

222
00:12:09,450 --> 00:12:13,710
I have already created on the table as a musician to be the musician.

223
00:12:13,860 --> 00:12:15,100
Will that have some of the data?

224
00:12:15,420 --> 00:12:20,420
So if you want to actually read all the data and visibility with the list view, how can this be played?

225
00:12:20,430 --> 00:12:23,540
In our next video, I will show that things with a live example.

226
00:12:24,000 --> 00:12:25,530
So thanks for watching.

227
00:12:25,530 --> 00:12:27,360
I'll see you in the next video.
