1
00:00:00,210 --> 00:00:00,940
Hello, friend.

2
00:00:00,960 --> 00:00:01,820
Welcome back.

3
00:00:02,070 --> 00:00:07,140
You know, all previous videos I have already discussed about that views, how can working with The

4
00:00:07,140 --> 00:00:09,240
View, how can create the template?

5
00:00:09,240 --> 00:00:15,300
And also how can working with the model and with this model here, I also define some of the model into

6
00:00:15,300 --> 00:00:15,870
the model.

7
00:00:15,870 --> 00:00:17,640
I have also seen some of the data.

8
00:00:17,850 --> 00:00:18,180
Right.

9
00:00:18,180 --> 00:00:21,110
And also then we can actually access our admin panel.

10
00:00:21,540 --> 00:00:24,500
So that is one of the building had been panel, as I told you before.

11
00:00:24,780 --> 00:00:27,860
So now I want to do I want to read all this data.

12
00:00:27,870 --> 00:00:29,700
So here I would read all these data.

13
00:00:29,700 --> 00:00:32,840
And in these data, I want the visibility in our base.

14
00:00:33,360 --> 00:00:34,350
So how can do that?

15
00:00:34,350 --> 00:00:36,200
Work is pretty much simple things.

16
00:00:36,210 --> 00:00:41,730
If you actually understand that main mechanism, like I show you, if you want to do that work, first

17
00:00:41,730 --> 00:00:43,710
of all, right, now, we don't need this.

18
00:00:43,710 --> 00:00:45,390
I just remove everything from here.

19
00:00:45,900 --> 00:00:48,400
So first of all, you have to do we have to go to your apps.

20
00:00:48,420 --> 00:00:51,990
That means in your application into this application, that is our views.

21
00:00:52,080 --> 00:00:52,420
Right.

22
00:00:52,740 --> 00:00:55,260
So here I have defined two of these models.

23
00:00:55,260 --> 00:00:58,160
So introduce our applications in our applications.

24
00:00:58,170 --> 00:01:00,340
That is, our models seem to these models.

25
00:01:00,360 --> 00:01:04,590
I have to have this class or one is the musician and another is that album.

26
00:01:04,590 --> 00:01:04,840
Right.

27
00:01:04,860 --> 00:01:09,010
So first of all, we have to do we have to import two of these in our view area.

28
00:01:09,330 --> 00:01:10,800
So now into this view area.

29
00:01:10,800 --> 00:01:18,850
I want to do I want to imported so from and from our fast app that means fast app and from the fast

30
00:01:18,870 --> 00:01:21,270
app I want to do I want to access our models.

31
00:01:22,260 --> 00:01:27,650
So right now I just want to find the models and then I want to import I want to import all of this data.

32
00:01:27,660 --> 00:01:29,940
That means here I have already created this class.

33
00:01:29,940 --> 00:01:35,490
One would be as a musician, so one would be as a musician, another will be as an album.

34
00:01:35,520 --> 00:01:39,180
So I just simply define and there will be as an album.

35
00:01:39,780 --> 00:01:40,050
Right.

36
00:01:40,710 --> 00:01:43,110
So here I have defined all the important.

37
00:01:43,340 --> 00:01:47,460
Now, if you want to visit Bollywood, first of all, you have to define that things with a specific

38
00:01:47,460 --> 00:01:48,510
one of the variable.

39
00:01:48,780 --> 00:01:54,750
OK, so right now in our index Matosi here, I have already created all the function that is our index

40
00:01:54,750 --> 00:01:56,200
function into this functionality.

41
00:01:56,250 --> 00:01:57,460
We have to do that work.

42
00:01:57,480 --> 00:02:05,370
So here I simply define all of the variables and I just take that variable as a musician list like a

43
00:02:05,370 --> 00:02:08,160
musician under the underscore list.

44
00:02:08,190 --> 00:02:11,570
So whatever the variable you want to take, you can take that song on here.

45
00:02:11,580 --> 00:02:13,560
And after that you have to define your table.

46
00:02:13,890 --> 00:02:20,190
That means in our name, our last name as a musician into this musician, I want to define all the talk

47
00:02:20,220 --> 00:02:20,810
of this.

48
00:02:20,820 --> 00:02:21,060
Right.

49
00:02:21,360 --> 00:02:27,540
So if you want to define that, then you have to define as objects to simply define as objects.

50
00:02:27,540 --> 00:02:32,490
And then if you want to also define that as an order by if you want the visibility as ordered by, you

51
00:02:32,490 --> 00:02:41,100
can define that order and underscore by OK, sorry, order by and into this order by I define it will

52
00:02:41,100 --> 00:02:44,210
be order by Baez, whatever he wants.

53
00:02:44,220 --> 00:02:49,200
If you want to make that things order by the first name, last name of the instrument, whatever you

54
00:02:49,200 --> 00:02:49,560
want.

55
00:02:49,590 --> 00:02:53,830
OK, so now I want to make that things are still be order by as a first name.

56
00:02:54,540 --> 00:02:55,710
So that is our field name.

57
00:02:55,710 --> 00:02:57,310
So to simply define our first name.

58
00:02:57,600 --> 00:02:57,950
OK.

59
00:02:58,560 --> 00:03:01,490
So that is actually the procedure for in Django.

60
00:03:01,500 --> 00:03:05,970
But if you use that in our PSP, what exactly did into the PSP?

61
00:03:05,970 --> 00:03:09,740
We did like that way, like we define as a select committee.

62
00:03:11,270 --> 00:03:20,460
OK, that would define the select all sorry select all from our table name or table will be as a musician,

63
00:03:22,890 --> 00:03:25,410
as a musician and from the musician.

64
00:03:25,410 --> 00:03:30,410
You have to define that order and by order by your full name.

65
00:03:30,420 --> 00:03:33,150
That means our filename are the data that the first name.

66
00:03:33,210 --> 00:03:33,470
Right.

67
00:03:33,860 --> 00:03:36,840
So we actually define that query in Django.

68
00:03:36,850 --> 00:03:38,610
We have to define that like that way.

69
00:03:38,880 --> 00:03:40,940
I hope you can well understand about it.

70
00:03:40,950 --> 00:03:45,240
So now here I get all the data from our musician table here.

71
00:03:45,240 --> 00:03:48,270
I take all the data and take the things with this variable.

72
00:03:48,270 --> 00:03:48,540
Right.

73
00:03:48,840 --> 00:03:52,880
And now here we have to do we have to pass all the data in our dictionary.

74
00:03:52,890 --> 00:03:54,130
That means in our diction.

75
00:03:54,150 --> 00:03:54,460
OK.

76
00:03:54,480 --> 00:03:55,930
So here we have to pass it.

77
00:03:56,190 --> 00:03:59,560
So if you want to pass it, you have to pass it with the key.

78
00:03:59,850 --> 00:04:04,440
So for the resource here in particular, that area want to define one of the key as a musician.

79
00:04:05,790 --> 00:04:08,160
OK, let's take the key as a musician.

80
00:04:08,400 --> 00:04:13,050
And in particular, that position here, I want to do and define our this variable.

81
00:04:13,060 --> 00:04:16,140
So I get all the data and take the things with this variable.

82
00:04:16,140 --> 00:04:16,370
Right.

83
00:04:16,650 --> 00:04:19,380
So now I just simply pass that variable on here.

84
00:04:19,680 --> 00:04:20,270
OK, efferent.

85
00:04:20,280 --> 00:04:27,240
So now in our return request, I have already passed out this discussion with this context in Laravel,

86
00:04:27,240 --> 00:04:28,380
what exactly we did.

87
00:04:28,590 --> 00:04:34,110
If you already knew about the plural framework, intolerable framework, we it with the compact.

88
00:04:34,110 --> 00:04:34,380
Right.

89
00:04:34,620 --> 00:04:36,780
So with this compact we pass all the data.

90
00:04:36,810 --> 00:04:42,180
So now here I just defined that in Django with the discussion and the distinction.

91
00:04:42,180 --> 00:04:44,440
I just pass our D KeyData.

92
00:04:44,460 --> 00:04:47,180
So that is our variable, in particular that variable.

93
00:04:47,190 --> 00:04:48,500
I have all the data.

94
00:04:48,510 --> 00:04:48,810
Right.

95
00:04:49,080 --> 00:04:51,030
So now I just passed this discussion.

96
00:04:51,030 --> 00:04:53,700
I just passed this discussion, Hegazy, into the context.

97
00:04:53,700 --> 00:04:59,820
I just it so now we can actually access all the data in our files up here that have also the.

98
00:05:00,000 --> 00:05:02,630
Index today, e-mail right here.

99
00:05:02,670 --> 00:05:07,350
I already passed the request, so now we can actually access all the data in our particular.

100
00:05:07,350 --> 00:05:13,230
This index today is Tamalpais and also in our discussion here, I have defined some of the ideas to

101
00:05:13,230 --> 00:05:15,180
know how to do and to change tactics.

102
00:05:15,180 --> 00:05:16,080
Then it's a little better.

103
00:05:16,080 --> 00:05:24,060
Like here I decided that this is a list of musician like musicians.

104
00:05:24,390 --> 00:05:27,060
So I just generally find this type of one of the text right now.

105
00:05:27,060 --> 00:05:28,940
I have already discussed about that things with you.

106
00:05:28,950 --> 00:05:33,010
How can this play so no end to this play before I display our ideas.

107
00:05:33,060 --> 00:05:36,420
So here I displayed that idea in our index system.

108
00:05:36,810 --> 00:05:40,100
So now one to do and to display all that our database data.

109
00:05:40,260 --> 00:05:42,840
So that is our all the database musician data.

110
00:05:43,080 --> 00:05:45,990
So now I to do I want to use it in our index system.

111
00:05:46,440 --> 00:05:48,390
So now open our index system also.

112
00:05:48,420 --> 00:05:54,350
Now if you go to our index e-mail, so that is in our template into the template, that is our first

113
00:05:54,370 --> 00:05:56,220
step and that is our index, SDMI.

114
00:05:56,340 --> 00:05:56,700
Right.

115
00:05:57,000 --> 00:05:59,900
So here I want to display all that, our data.

116
00:05:59,910 --> 00:06:03,800
So I have already loaded our aesthetic, all the data that is a title.

117
00:06:03,810 --> 00:06:09,090
So if you want to change the title right now and to display all determine the status of the trial,

118
00:06:09,090 --> 00:06:16,230
to define as a musician, to musician, to list all the data, that will be our title and that is our

119
00:06:16,230 --> 00:06:16,770
bodies.

120
00:06:16,950 --> 00:06:23,480
The body area I want to do here, like in our H1 tacking to this H1 tag, I want to display our this

121
00:06:23,490 --> 00:06:28,740
ID, so that means our tax I.D. I just got it from here and better.

122
00:06:28,770 --> 00:06:31,200
I want to learn to use it on particular that position.

123
00:06:31,510 --> 00:06:33,780
So that is actually the idea I have already defined.

124
00:06:33,790 --> 00:06:38,970
So here I have already found in our dictionary that is our idea to this idea that actually the text.

125
00:06:38,970 --> 00:06:39,230
Right.

126
00:06:39,540 --> 00:06:42,010
So now it shall be displayed by the creditor.

127
00:06:42,060 --> 00:06:42,770
Yes or no?

128
00:06:42,790 --> 00:06:43,500
We don't need this.

129
00:06:43,500 --> 00:06:50,280
I just simply will read it also remove our images, because here I want to get all the data from our

130
00:06:50,280 --> 00:06:52,740
database table and on the visibility on here.

131
00:06:53,160 --> 00:06:56,740
So for doing this, better to do on the display with the sun using side the table.

132
00:06:56,880 --> 00:07:01,590
OK, so here I define some of the table and also we have to finish the table.

133
00:07:01,770 --> 00:07:04,050
So just simply finish the table.

134
00:07:04,300 --> 00:07:12,570
OK, and then also for this table, I want to define the class that actually be better and define class

135
00:07:12,670 --> 00:07:13,220
rather than I.

136
00:07:13,240 --> 00:07:15,650
But I want to refer the border, OK?

137
00:07:15,660 --> 00:07:21,390
I just simply defined the border as a one border and then I will define the tier.

138
00:07:21,750 --> 00:07:23,140
That means the table roll.

139
00:07:23,690 --> 00:07:26,220
So into this table we have to finish it.

140
00:07:26,370 --> 00:07:33,900
So just simply finish out this table and this table, the area I want to take hold and that means that

141
00:07:33,900 --> 00:07:34,560
table hit.

142
00:07:34,630 --> 00:07:41,670
OK, so I just simply defined the DH also we have to finish the DH, so I just simply finish it.

143
00:07:41,680 --> 00:07:43,380
Sorry, finish it.

144
00:07:43,680 --> 00:07:47,700
So into this area I want to do first of all I define that as a first name.

145
00:07:49,200 --> 00:07:50,250
Last name.

146
00:07:50,430 --> 00:07:50,820
Right.

147
00:07:51,150 --> 00:07:59,100
So for this position I have the three field as a first name and then I want to display our another one

148
00:07:59,100 --> 00:08:02,400
will be the last name, last name.

149
00:08:02,400 --> 00:08:10,740
And also I define if you go to our fast ab and that is our models and can defined as the first name,

150
00:08:10,740 --> 00:08:12,180
last name and the instrument.

151
00:08:12,180 --> 00:08:16,200
So I just simply define another one as an instrument.

152
00:08:21,540 --> 00:08:23,590
OK, just name it as an instrument, perfect.

153
00:08:24,060 --> 00:08:29,320
So now I'm too old to get all the data, so which I have already defined that things in our view.

154
00:08:29,340 --> 00:08:36,390
I get all the data and take that data with this variable and also pass it with this key as a musician.

155
00:08:36,510 --> 00:08:36,820
Right.

156
00:08:37,110 --> 00:08:39,210
So now we get all the data with this.

157
00:08:39,230 --> 00:08:41,240
So now I want to learn to follow it.

158
00:08:41,270 --> 00:08:45,120
So if you want to add that voltage into the jungle, how can do that work?

159
00:08:45,120 --> 00:08:47,780
Its will be pretty much the same things here.

160
00:08:47,790 --> 00:08:50,730
You have to define the calibration and the double percenters.

161
00:08:51,160 --> 00:08:53,610
OK, to this double percent is here.

162
00:08:53,610 --> 00:08:55,370
You have to define that your for loop.

163
00:08:55,410 --> 00:09:01,080
I just simply defined the four and I just name it as a role and role in your key.

164
00:09:01,110 --> 00:09:05,550
So here I have defined the key name as a musician, so I just simply copy it.

165
00:09:05,880 --> 00:09:08,850
And now here I just simply defined that musician.

166
00:09:09,180 --> 00:09:14,500
So I have only to get all the data that means from our musician, all the data and take that things

167
00:09:14,520 --> 00:09:15,530
with this key area.

168
00:09:15,690 --> 00:09:16,050
Right.

169
00:09:16,070 --> 00:09:18,140
So now here I just call it in.

170
00:09:18,840 --> 00:09:23,040
So not only if you want to visible all that, feel that you have to be to lead with this.

171
00:09:23,140 --> 00:09:23,890
All right.

172
00:09:24,270 --> 00:09:26,700
So here we started one of the four loops we have to do.

173
00:09:26,700 --> 00:09:27,630
We have to finish it.

174
00:09:27,640 --> 00:09:31,460
So after that, I want to do finished with this CARLEBACH.

175
00:09:31,460 --> 00:09:37,560
It will be the same command centers and into this double pass sentence here you have to define as and

176
00:09:37,560 --> 00:09:37,920
for.

177
00:09:38,520 --> 00:09:43,640
OK, I'm just simply defining it in particular that area I want to do and define our here again.

178
00:09:44,100 --> 00:09:48,140
So just simply defined as a tier that means the table.

179
00:09:48,330 --> 00:09:53,130
And then I just simply defined the tier close and then in particular that position.

180
00:09:53,130 --> 00:09:55,110
I want to display all the top tier data.

181
00:09:55,110 --> 00:09:57,320
That means the table data.

182
00:09:57,330 --> 00:10:00,670
So I just simply definitely and then finish started.

183
00:10:01,200 --> 00:10:05,790
So here I want to do on to display our first name.

184
00:10:05,810 --> 00:10:10,710
So for the first name, I have defined that filename or filename as a first name for a musician.

185
00:10:10,710 --> 00:10:11,030
Right.

186
00:10:11,310 --> 00:10:13,020
So I just simply copy it.

187
00:10:13,410 --> 00:10:19,220
And as I told you here, I get all that our data with this key as a musician, musician.

188
00:10:19,230 --> 00:10:22,890
So if you want to have visibility, you have to visibility with this role.

189
00:10:22,950 --> 00:10:24,990
OK, so here are definitive role.

190
00:10:25,140 --> 00:10:30,940
So one of the things you will put on that area, you can display that name with this.

191
00:10:30,960 --> 00:10:34,000
OK, so right now, for education purposes, I'm using that role.

192
00:10:34,020 --> 00:10:36,940
So here, if you want to change it, you can change it from to this position.

193
00:10:37,320 --> 00:10:42,800
So now I want to visibly then you have to define the double calibration and then with this rule.

194
00:10:43,170 --> 00:10:48,420
OK, so with this draw, you have the visibility so that somebody finds a role and then are feeling

195
00:10:48,420 --> 00:10:48,550
them.

196
00:10:48,960 --> 00:10:50,760
So I have already defined our database.

197
00:10:51,300 --> 00:10:52,960
That is our Fastnet platform.

198
00:10:53,040 --> 00:10:58,800
So now I just simply copied it because here I also want to display our last name and the instrument.

199
00:10:59,310 --> 00:11:04,140
So our another feel as a last name copied here.

200
00:11:04,150 --> 00:11:06,220
I define our with this role.

201
00:11:06,600 --> 00:11:09,180
Our last name and then the instrument.

202
00:11:09,870 --> 00:11:11,130
So I just simply copied.

203
00:11:11,130 --> 00:11:15,420
And here it is simply pasted and that's all you have to do.

204
00:11:15,450 --> 00:11:17,700
OK, so here I have defined our 40 stop.

205
00:11:18,090 --> 00:11:21,000
So that is our 40 slope into this slope.

206
00:11:21,000 --> 00:11:23,520
I display all that, our data.

207
00:11:23,760 --> 00:11:28,230
So here I just defined that for this loop in Django and then I just.

208
00:11:28,230 --> 00:11:29,060
And this forest.

209
00:11:29,400 --> 00:11:33,540
OK, so then that is our historical data.

210
00:11:33,540 --> 00:11:37,040
And also here I loaded our aesthetic and successfully.

211
00:11:37,170 --> 00:11:41,180
So that is on my Celsius file and here I defining it.

212
00:11:41,190 --> 00:11:44,580
So the text will be as H1, so should be as a rate.

213
00:11:44,580 --> 00:11:44,840
Right.

214
00:11:46,200 --> 00:11:47,170
Now let's check this out.

215
00:11:47,190 --> 00:11:53,160
If you click the save all like I just click, I save all, they just clear the table all and make that

216
00:11:53,180 --> 00:11:54,450
Sheherazade very stunning.

217
00:11:56,230 --> 00:12:00,410
Yeah, our survey is done perfectly running, so now I have to do and refresh our pace.

218
00:12:00,410 --> 00:12:04,480
So now that it appears refresh it, yes.

219
00:12:04,480 --> 00:12:05,460
Now I can see Fred.

220
00:12:05,490 --> 00:12:08,710
Now, that is actually our idea is visible.

221
00:12:08,710 --> 00:12:13,180
And for this idea, I have defined some of the CSA as a part of the H1 tag.

222
00:12:13,390 --> 00:12:15,000
And you can see it's now become changed.

223
00:12:15,250 --> 00:12:18,310
And also I define our table and the table.

224
00:12:18,310 --> 00:12:22,600
I have the tree field as a first name, the last name and the instrument.

225
00:12:22,630 --> 00:12:22,930
Right.

226
00:12:23,230 --> 00:12:26,890
So now you can see that is all that that actually comes from our database.

227
00:12:26,900 --> 00:12:28,530
That is not to be static data.

228
00:12:28,540 --> 00:12:32,740
So that's all the raw dynamic data is now comes from our database tables.

229
00:12:32,740 --> 00:12:39,010
So into the database you can see the object with Jack Ma Suda, the Jack Ma and that is actually Viljoen.

230
00:12:39,030 --> 00:12:46,090
So here is not perfectly visible as a jack and the our last name as a ma and then our instrument and

231
00:12:46,090 --> 00:12:52,090
then also I just define first name, the cuzzi, the last name Ardian and the instrument as a guitar.

232
00:12:52,570 --> 00:12:58,630
So friend I hope is step by step you become very much easy to you because here I think, you know,

233
00:12:58,630 --> 00:13:02,800
you can well understand about how you can read all the data from your database.

234
00:13:02,980 --> 00:13:04,840
How can Raniere foreach loop.

235
00:13:04,850 --> 00:13:06,280
So that is our foreach loop.

236
00:13:06,460 --> 00:13:12,820
And here, if you want to visible your data from the database, how can we lead in our index template

237
00:13:12,820 --> 00:13:13,220
area?

238
00:13:13,240 --> 00:13:15,460
So now it should be very much clear to you.

239
00:13:15,850 --> 00:13:21,910
So as I told you, don't worry, I'll step by step, will go more deep and after end of this course

240
00:13:21,910 --> 00:13:27,310
you will have a much better idea about the triangle and everything will be very much easy to you.

241
00:13:27,640 --> 00:13:30,190
So, you know, next video on to start a new session.

242
00:13:30,190 --> 00:13:31,990
It's about that general forms.

243
00:13:32,290 --> 00:13:34,060
So how can actually deal with that?

244
00:13:34,060 --> 00:13:36,010
Django forms, you know, next video.

245
00:13:36,010 --> 00:13:38,340
I will show you that things with the live example.

246
00:13:38,770 --> 00:13:42,370
So thanks for watching and I will see you in the next video.
