1
00:00:00,210 --> 00:00:01,000
Hello, friend.

2
00:00:01,020 --> 00:00:01,830
Welcome back.

3
00:00:02,220 --> 00:00:07,250
In a previous video, we successfully complete our blog details, Paysite Click.

4
00:00:07,270 --> 00:00:10,770
I read more than to be addicted to our blog Digital Space.

5
00:00:11,220 --> 00:00:17,100
So now in this video on to discuss about how can add on to the comment option for a specific this blog.

6
00:00:17,580 --> 00:00:22,260
So for doing this, we have to do we have to work in our blog detail space and for the blog details.

7
00:00:22,260 --> 00:00:27,930
We have already created one of the method, Leprince, in our blog that we said in our blog into The

8
00:00:27,930 --> 00:00:31,000
View area, that is a function name as a blog details.

9
00:00:31,290 --> 00:00:39,120
So before I simply get all the DOT object data and here I pass it with our addiction to our blog details,

10
00:00:39,120 --> 00:00:39,860
e-mail.

11
00:00:40,380 --> 00:00:43,590
So right now, also here, we have to do have to pass one of the.

12
00:00:44,400 --> 00:00:47,160
So here they have no such a building form.

13
00:00:47,190 --> 00:00:50,130
So right now we have to do we have to create the custom form.

14
00:00:50,130 --> 00:00:50,510
Right.

15
00:00:50,750 --> 00:00:54,080
So if you want to create some of the custom forms, then what exactly you have to do?

16
00:00:54,090 --> 00:00:55,540
I think you already know about it.

17
00:00:55,920 --> 00:00:58,290
So right now, like here, I don't need this.

18
00:00:58,290 --> 00:00:59,910
I remove everything from here.

19
00:01:00,450 --> 00:01:02,470
And that is our blog also here.

20
00:01:02,490 --> 00:01:07,200
Don't need this suffocating that all of the custom from here in our blog.

21
00:01:07,300 --> 00:01:13,290
I wanted to create all the new file and just name it as a forms Lotfy.

22
00:01:14,010 --> 00:01:15,620
That will be our custom form.

23
00:01:15,640 --> 00:01:21,060
So here I want to do that to create on the custom form and then we will load our this form in particular

24
00:01:21,060 --> 00:01:22,440
in this little space.

25
00:01:22,590 --> 00:01:22,930
Right.

26
00:01:23,190 --> 00:01:27,440
So don't worry, step by step I will show you everything with the live example.

27
00:01:27,960 --> 00:01:32,550
So for doing this, first of all here we have to do we have to load our Django building form.

28
00:01:32,880 --> 00:01:35,640
So that is from, that is from the Django.

29
00:01:36,150 --> 00:01:42,570
So from the Django and from here, I want to import one of the building of the form, that is the forms.

30
00:01:42,600 --> 00:01:44,380
So that is all Django building forms.

31
00:01:44,790 --> 00:01:51,990
So now I want to do also I want to get all the dart glass that means in our model if you go to that

32
00:01:51,990 --> 00:01:52,380
model.

33
00:01:52,390 --> 00:01:58,590
So from the model, I need our block because of all either the logorrhea that have all the other block

34
00:01:58,590 --> 00:01:59,130
details.

35
00:01:59,130 --> 00:02:01,370
And also I need our this comment.

36
00:02:01,830 --> 00:02:05,590
So if you want to get it, first of all, here, I want to do put it.

37
00:02:05,610 --> 00:02:08,810
So that is from and app block.

38
00:02:08,820 --> 00:02:15,110
So you can also make the things with our dot rather than if you want to put that your full name as app

39
00:02:15,120 --> 00:02:17,450
block and from the app block that is a model.

40
00:02:18,270 --> 00:02:19,650
So that is a clear model.

41
00:02:19,680 --> 00:02:23,180
So from the Model S, we want to input our both of this class.

42
00:02:23,190 --> 00:02:25,790
That means you our blog and that is our models.

43
00:02:25,830 --> 00:02:28,980
Those are from the model I want to do to get our blog.

44
00:02:29,250 --> 00:02:30,800
That is a block plus.

45
00:02:30,810 --> 00:02:35,460
And also I want to do want to get our another class as a comment.

46
00:02:35,940 --> 00:02:37,770
So into the common area here.

47
00:02:37,770 --> 00:02:40,730
I have already cleared the field for the comment.

48
00:02:40,740 --> 00:02:43,800
So now I only need it for the reasons here.

49
00:02:43,800 --> 00:02:51,050
I simply add our this class as a common class of a friend I hope is very much clear to you.

50
00:02:51,270 --> 00:02:53,450
So now to do and to create one of the class.

51
00:02:53,560 --> 00:02:57,150
Now I name it as a class and I name it as a comment.

52
00:02:58,740 --> 00:03:01,500
OK, name it as a comment from then.

53
00:03:01,530 --> 00:03:03,840
It's sort of a better side name it is coming from.

54
00:03:04,160 --> 00:03:10,050
So we inherited our Django forms, so that is our Django forms.

55
00:03:10,050 --> 00:03:15,620
And then also it would be in our model form that will be as a model form.

56
00:03:15,960 --> 00:03:16,270
Right.

57
00:03:16,710 --> 00:03:18,210
So I loaded it.

58
00:03:18,210 --> 00:03:23,400
So in fundamental, I have already discussed about the things we use right now to create another custom

59
00:03:23,400 --> 00:03:23,790
model.

60
00:03:24,180 --> 00:03:28,200
And then here I name it, one of the class that into the class area.

61
00:03:28,200 --> 00:03:29,520
I want to create another class.

62
00:03:29,520 --> 00:03:31,290
That means you will be as a middle class.

63
00:03:31,290 --> 00:03:31,550
Right?

64
00:03:32,070 --> 00:03:38,250
So I named it as a class and it will be as a matter that will be as a middle class and into the middle

65
00:03:38,250 --> 00:03:38,910
class area.

66
00:03:38,910 --> 00:03:44,220
First of all, I want to load our model, so I want to load that model.

67
00:03:44,220 --> 00:03:49,800
That means which model to load out, load our common model and form to the common model I want to do

68
00:03:49,800 --> 00:03:51,810
and to get our disgorgement field.

69
00:03:52,140 --> 00:03:53,780
That means this field will be needed.

70
00:03:53,790 --> 00:03:54,060
Right.

71
00:03:54,420 --> 00:04:04,380
So now after that here I will add our fields so our fields, our fields will be I want to do and the

72
00:04:04,380 --> 00:04:05,910
visible our common field.

73
00:04:06,420 --> 00:04:06,670
Right.

74
00:04:07,020 --> 00:04:09,110
I hope is very much clear to you.

75
00:04:09,450 --> 00:04:11,640
So that will be our common form.

76
00:04:12,210 --> 00:04:14,130
So now we have to do we have to load it.

77
00:04:14,130 --> 00:04:15,180
We have to load it out.

78
00:04:15,180 --> 00:04:18,680
This class, in our view, that means in our blog details.

79
00:04:18,690 --> 00:04:18,940
Right.

80
00:04:18,970 --> 00:04:20,570
So here now we have to work.

81
00:04:21,180 --> 00:04:26,800
So after that, I take one of the variable and I just name it as a common form.

82
00:04:27,810 --> 00:04:29,760
OK, comment underscored form.

83
00:04:30,930 --> 00:04:35,620
So it will be on the common from and here we have to do we have to load our D.

84
00:04:35,640 --> 00:04:38,520
That means that is our common form.

85
00:04:38,530 --> 00:04:40,890
So I copy and here I load it.

86
00:04:41,190 --> 00:04:45,720
So if you want to access it, that means if you want to access our this class, first of all here in

87
00:04:45,720 --> 00:04:50,860
our mind here, we have to first of all, load it right so now and want to import it.

88
00:04:51,300 --> 00:04:59,580
So that is from our from and then our app that means from our blog and then the frumps from from the.

89
00:04:59,660 --> 00:05:01,790
From sound to import our last name.

90
00:05:01,820 --> 00:05:07,580
That will be our comment from right so here, first of all, like the chili imported and now we can

91
00:05:07,580 --> 00:05:08,480
actually access it.

92
00:05:08,490 --> 00:05:10,000
So here I access it.

93
00:05:10,010 --> 00:05:16,640
I take that things with this variable and then Orest, all that step will be just like the same before

94
00:05:16,680 --> 00:05:19,410
or more know if you want to load on the form.

95
00:05:19,790 --> 00:05:25,910
So what exactly we did first of all, I add one of the if condition and then we have to parse that request.

96
00:05:25,910 --> 00:05:26,290
Right.

97
00:05:26,310 --> 00:05:27,350
Request methode.

98
00:05:28,130 --> 00:05:31,280
That means one of the things will pass from our blog.

99
00:05:31,280 --> 00:05:32,630
Details that into the block.

100
00:05:32,630 --> 00:05:33,170
Details here.

101
00:05:33,170 --> 00:05:34,370
We have to add on the form.

102
00:05:34,370 --> 00:05:36,410
So here from here we have to parse that.

103
00:05:36,650 --> 00:05:38,930
Our request method, that request method.

104
00:05:38,930 --> 00:05:40,310
First of all, I want to check it.

105
00:05:40,610 --> 00:05:43,730
I want to check it is both method, the gate method.

106
00:05:43,880 --> 00:05:45,620
First of all, we have to check it.

107
00:05:45,620 --> 00:05:45,940
Right.

108
00:05:45,950 --> 00:05:50,820
And then I want to do I want to pass our district post.

109
00:05:51,110 --> 00:05:54,860
That means I take that word things with this variable as a comment.

110
00:05:58,010 --> 00:05:59,930
So shall we just like the same before?

111
00:05:59,930 --> 00:06:01,430
I hope you remember that.

112
00:06:01,430 --> 00:06:07,550
But that means the comment that our class class will be as a comment, and that means in our comment

113
00:06:07,550 --> 00:06:11,800
form and the common form here, we have to pass our distinguished post.

114
00:06:11,810 --> 00:06:12,140
Right.

115
00:06:12,170 --> 00:06:14,500
So it will be as a request and then post.

116
00:06:14,960 --> 00:06:16,390
So here we have to pass it.

117
00:06:16,460 --> 00:06:18,670
And after that I have to do I have to check it.

118
00:06:18,680 --> 00:06:20,680
That means I have to check that is valid.

119
00:06:20,690 --> 00:06:28,120
So with the if condition, sorry, with the if condition and then without this comment that we see with,

120
00:06:28,140 --> 00:06:33,080
without this comment from because of all here, I take the things with this variable before we use it

121
00:06:33,080 --> 00:06:34,040
as the only form.

122
00:06:34,040 --> 00:06:34,290
Right.

123
00:06:34,550 --> 00:06:42,620
So not changed for the comment from and if our this comment from a so I wanted to check it is valid

124
00:06:42,770 --> 00:06:44,630
is underscore valid.

125
00:06:45,470 --> 00:06:47,210
So is valid.

126
00:06:47,210 --> 00:06:48,280
I want to check it.

127
00:06:48,290 --> 00:06:51,590
So if I then I want to do I want to actually save it.

128
00:06:51,590 --> 00:06:59,360
So I take of the variable as a comment I take on the variable of the comment and now with this comment

129
00:06:59,360 --> 00:06:59,740
form.

130
00:07:00,560 --> 00:07:05,670
So with this comment from I want to do and to save it, I want to save it.

131
00:07:05,990 --> 00:07:08,420
So here first of all, also we have to check it.

132
00:07:08,420 --> 00:07:09,400
We have to check it.

133
00:07:09,410 --> 00:07:14,630
Which user actually put that comment and which blog post actually put that comment?

134
00:07:14,630 --> 00:07:14,880
Right.

135
00:07:15,140 --> 00:07:20,540
So for the resource here, if you go to our model into the model area, I have already declared both

136
00:07:20,540 --> 00:07:22,520
of this at, that will be our blog.

137
00:07:22,520 --> 00:07:27,560
And here I make our forint key with our block class and then also the user.

138
00:07:27,770 --> 00:07:30,050
And that is our foreign key with our user class.

139
00:07:30,320 --> 00:07:35,930
That means which user actually pulled that comment and in particular, which blog post this user put

140
00:07:35,930 --> 00:07:36,510
that comment.

141
00:07:36,530 --> 00:07:38,760
So here also we have to declare both of these.

142
00:07:39,090 --> 00:07:42,000
So for the reasons here, I want to do before.

143
00:07:42,020 --> 00:07:46,880
First of all, I want to make as a comet, as a false comet.

144
00:07:46,880 --> 00:07:51,040
I want to learn to make that as a first of all, it will be the false right.

145
00:07:51,050 --> 00:07:55,190
That means I want to pending this data and then here we have to do have to check it.

146
00:07:55,220 --> 00:08:03,890
So with this comment, so with this comment I want to do on to access our user, that means here, here,

147
00:08:03,890 --> 00:08:05,060
that will be our user.

148
00:08:05,060 --> 00:08:08,780
And also we have to check it our blog right now to do and to check it.

149
00:08:08,780 --> 00:08:10,910
First of all, I want to check it out.

150
00:08:10,910 --> 00:08:14,030
Which user user would be our request to do that?

151
00:08:14,030 --> 00:08:19,280
That means which user is already logged in that our current users have used to display that current

152
00:08:19,280 --> 00:08:19,750
user?

153
00:08:20,030 --> 00:08:28,220
It will be as a request request, user request user means our current user and then sorry, current

154
00:08:28,220 --> 00:08:28,670
user.

155
00:08:28,670 --> 00:08:31,250
And then I want to do I want to add our block.

156
00:08:31,250 --> 00:08:38,840
That is what exact we blog post this user put that comment to it will be as a blog and blog will be

157
00:08:39,080 --> 00:08:40,750
as our blog.

158
00:08:40,850 --> 00:08:41,240
Right.

159
00:08:41,540 --> 00:08:43,700
That means that is a clear block.

160
00:08:43,700 --> 00:08:45,370
So that block will be our block.

161
00:08:45,380 --> 00:08:47,630
So no, I pass it perfect.

162
00:08:47,630 --> 00:08:49,420
And after that I will want to save it.

163
00:08:49,820 --> 00:08:55,600
So with the comment, with this comment, I want to save this data.

164
00:08:55,610 --> 00:08:57,080
So right now I save it.

165
00:08:57,350 --> 00:09:01,700
And after when I save it, after that, I want to pass it to one of the base.

166
00:09:01,700 --> 00:09:02,870
So it should be written.

167
00:09:03,200 --> 00:09:08,780
And with our EDP response to that effect and then the reverse.

168
00:09:09,650 --> 00:09:10,110
Right.

169
00:09:10,130 --> 00:09:13,310
With the reverse, I want to do and pass all this specific case.

170
00:09:13,310 --> 00:09:20,090
I want to pass it to our that means so in this user will put any comments, then it should be directed

171
00:09:20,090 --> 00:09:21,310
toward the same page.

172
00:09:21,320 --> 00:09:22,780
That means that is our little space.

173
00:09:22,790 --> 00:09:23,070
Right.

174
00:09:23,420 --> 00:09:30,580
So if you go to details s that means if you go to our you in our app blog, if you go to that, you

175
00:09:30,590 --> 00:09:34,850
are I have already created one of the paths as the details and after the details.

176
00:09:34,850 --> 00:09:36,470
Also there have some of the slack.

177
00:09:36,980 --> 00:09:37,310
Right.

178
00:09:37,400 --> 00:09:39,620
And also name it with our blog details.

179
00:09:39,870 --> 00:09:42,920
That means in our blog and then our blog details.

180
00:09:43,070 --> 00:09:45,460
So now I want to be able to pass it on here.

181
00:09:45,890 --> 00:09:50,090
So first of all, our app name app name will be as the app Underscore Block.

182
00:09:50,360 --> 00:09:53,930
And then I want to do pass it in our blog title.

183
00:09:53,930 --> 00:09:57,050
Space, I hope is very much clear to friend.

184
00:09:57,050 --> 00:09:59,390
And after that they have also one of the.

185
00:09:59,510 --> 00:10:05,100
Heidi, you can see they have also Didymus, I am here using the slack, right?

186
00:10:05,120 --> 00:10:10,370
If you go to our detailed space and you can see the regular details and after the details that have

187
00:10:10,490 --> 00:10:11,240
our slack.

188
00:10:11,600 --> 00:10:15,320
So here, if you want to pass it, then you have to pass it with the key argument.

189
00:10:15,710 --> 00:10:16,690
So fundamental.

190
00:10:16,700 --> 00:10:18,770
I have already discussed of all the things we do.

191
00:10:18,890 --> 00:10:23,270
So here, if you want to pass it, then you have to pass it to the key argument.

192
00:10:23,280 --> 00:10:29,510
That means OK with the key argument, with the key argument we have to do, we have to pass it.

193
00:10:29,520 --> 00:10:36,860
So now to do and pass our witchdoctor, I want to pass laws that are right so that you are telling me

194
00:10:36,860 --> 00:10:44,600
that Aslak so here I pass it and also requested that we requested over here.

195
00:10:44,600 --> 00:10:46,550
I also pass all requested parameters.

196
00:10:46,550 --> 00:10:49,170
Aslak so so be our decision.

197
00:10:49,250 --> 00:10:55,070
OK, so I just simply pass it on here I hope is very clear to friends.

198
00:10:55,090 --> 00:10:57,950
So now here I have to do I have to pass our form.

199
00:10:57,950 --> 00:11:03,110
That means that is actually our custom form and I just take the things with this variable as a common

200
00:11:03,110 --> 00:11:03,420
form.

201
00:11:03,710 --> 00:11:05,870
So now here we have to pass that form.

202
00:11:06,230 --> 00:11:10,950
And I also hear about the visibility in our blog, details specific and the visibility.

203
00:11:10,950 --> 00:11:12,710
You have to pass it in our dictionary.

204
00:11:12,740 --> 00:11:13,050
Right.

205
00:11:13,340 --> 00:11:14,360
So after that.

206
00:11:14,690 --> 00:11:20,990
After that, I want to do to pass our key and then I want to pass it on this custom form.

207
00:11:21,590 --> 00:11:21,980
Perfect.

208
00:11:21,980 --> 00:11:25,760
So that we can actually use our this custom form in our blog Little Space.

209
00:11:26,120 --> 00:11:28,760
So now we have to do we have to work in our blog details now.

210
00:11:28,760 --> 00:11:31,100
Go to our blog details template.

211
00:11:31,100 --> 00:11:34,590
That means that is our blog and there is a blog Titos template.

212
00:11:34,940 --> 00:11:41,570
So I want to do and of visibility after this like and after this here, I want to do undertake another.

213
00:11:41,870 --> 00:11:46,340
If I take another baby and I put on the roll, then it's a little bit better.

214
00:11:46,340 --> 00:11:48,380
And I want to segment with the two column.

215
00:11:48,680 --> 00:11:50,290
That means I take another Dave.

216
00:11:50,300 --> 00:11:54,440
I make that as a call s.m Gaullism six by six.

217
00:11:54,950 --> 00:11:57,230
So it'll be at the Coliseum six.

218
00:11:57,650 --> 00:12:01,530
And I also want to undertake another one as I call six.

219
00:12:01,920 --> 00:12:06,770
OK, so into the Coliseum 63 I want to do and the visible all the top comment.

220
00:12:06,770 --> 00:12:10,670
So I take one of the five back and it'll be as a comment.

221
00:12:12,340 --> 00:12:18,290
OK, so these are all the comments and then you know, our disposition.

222
00:12:18,290 --> 00:12:22,460
That means, you know, another call, some six here round to do under the load of the form.

223
00:12:22,610 --> 00:12:27,620
So if you want to do that foam, I think you already remember that this will be just like the same.

224
00:12:28,160 --> 00:12:29,930
So you don't need this action.

225
00:12:30,200 --> 00:12:33,470
Only we need that method and method will be as opposed.

226
00:12:33,830 --> 00:12:36,870
So into the view here, I have already checked it.

227
00:12:36,890 --> 00:12:38,420
That means our guest post.

228
00:12:38,420 --> 00:12:41,450
And first of all, I take it as a post right now.

229
00:12:41,810 --> 00:12:43,110
Everything is just like that.

230
00:12:43,130 --> 00:12:43,770
Same before.

231
00:12:43,790 --> 00:12:46,600
So now what do I want to actually displayed on here?

232
00:12:47,030 --> 00:12:49,190
So this will be from here.

233
00:12:49,370 --> 00:12:50,690
That is from our view.

234
00:12:50,840 --> 00:12:56,540
I pass our custom form, take the things with this variable, and here I pass it in our dictionary area

235
00:12:56,810 --> 00:12:58,010
with the contact form.

236
00:12:58,010 --> 00:12:58,970
That means a comment from.

237
00:12:58,970 --> 00:12:59,270
Right.

238
00:12:59,600 --> 00:13:01,270
So now to simply use it.

239
00:13:01,940 --> 00:13:07,570
So here it will be as our common form and into the common form area if you want to load our Quispe.

240
00:13:08,210 --> 00:13:12,170
So here we have to do have to load that crispbread.

241
00:13:12,170 --> 00:13:17,910
So bitter I take it, you know, create blog because I loaded that piece.

242
00:13:17,990 --> 00:13:20,120
Now, first of all, I want to do and to load it.

243
00:13:20,780 --> 00:13:23,150
Let me see the blog details here after that.

244
00:13:23,150 --> 00:13:28,880
Bedstemor, lighten the load our this case before and now I want to do on to access it.

245
00:13:28,880 --> 00:13:30,200
So I copy it.

246
00:13:30,770 --> 00:13:36,530
And here into the common form, I want to display our case before and after that.

247
00:13:36,530 --> 00:13:39,890
I have to do I have to load our Kiselev token.

248
00:13:39,920 --> 00:13:40,310
Right.

249
00:13:40,910 --> 00:13:45,100
So I make it as a C as AALDEF underscore tokin.

250
00:13:46,370 --> 00:13:52,610
So, so we as I see a set of talking and after that I take one of the button, OK, I take one of the

251
00:13:52,610 --> 00:13:54,830
button shall be as submitted.

252
00:13:54,980 --> 00:13:57,680
And also here we don't need this name.

253
00:13:57,680 --> 00:14:06,770
I want to load on the class and load all the classes will be as a burden with the primary and between

254
00:14:06,770 --> 00:14:09,300
s.m ok.

255
00:14:09,360 --> 00:14:14,790
Should be as a bit nessim and then it'll be the comment that will be the common button.

256
00:14:15,560 --> 00:14:16,100
Perfect.

257
00:14:16,130 --> 00:14:17,650
So now let's check this out.

258
00:14:17,660 --> 00:14:24,260
Now if you click on this Savol and now if you first of all, check our server and here you can see still

259
00:14:24,260 --> 00:14:32,060
getting some of the arrowroot, some getting some that in our that is our forms in the forms line one

260
00:14:32,750 --> 00:14:34,790
is from Django Input Forms.

261
00:14:34,790 --> 00:14:37,010
Here you can see there is a spelling mistake.

262
00:14:37,340 --> 00:14:42,380
So that will be the forms, uh, that is in our forms.

263
00:14:42,980 --> 00:14:44,530
You can then make it as a form.

264
00:14:44,570 --> 00:14:46,600
This will be the forms for R.

265
00:14:46,940 --> 00:14:47,630
S, right.

266
00:14:48,230 --> 00:14:49,610
That will be the forms.

267
00:14:49,610 --> 00:14:55,670
And also here you can say make the things correct on here, but I would put it in wrong.

268
00:14:56,120 --> 00:14:57,800
That means they have some of the spelling mistake.

269
00:14:58,160 --> 00:14:59,180
Let's check this out again.

270
00:14:59,340 --> 00:15:00,360
Going to save all.

271
00:15:03,510 --> 00:15:05,720
Yeah, you can see it's not perfect in the running.

272
00:15:06,290 --> 00:15:07,320
Now let's check this out.

273
00:15:07,320 --> 00:15:09,120
If you know, click on the refresh.

274
00:15:10,540 --> 00:15:11,650
And now go here.

275
00:15:11,680 --> 00:15:18,310
Yes, you can see it's not perfectly visible, our comment and here that is our bottom, maybe they

276
00:15:18,310 --> 00:15:20,860
have some of the spelling mistakes in our class.

277
00:15:22,070 --> 00:15:28,100
That is the beauty and beauty and primary you can see also there is a spelling bee and they are quite

278
00:15:28,150 --> 00:15:35,610
right, primary and written as click as a Savol again, refresh it again.

279
00:15:35,650 --> 00:15:38,960
You know, this is perfectly getting and better.

280
00:15:38,980 --> 00:15:42,480
I want to put some of the bracket OK.

281
00:15:42,490 --> 00:15:48,550
I put on the bracket and then that is our end blog.

282
00:15:48,970 --> 00:15:50,830
No clue to save all.

283
00:15:51,340 --> 00:15:53,530
And now refresh it again.

284
00:15:53,540 --> 00:15:57,430
Yeah, you can see that in our blog and the result end of the day as a comment.

285
00:15:58,150 --> 00:16:00,250
So friend, I hope is very much clear to you.

286
00:16:00,250 --> 00:16:01,720
So that is our common form.

287
00:16:01,720 --> 00:16:06,090
You can see I loaded our into the formula and your comment field.

288
00:16:06,370 --> 00:16:12,280
That means if you go to our model into the model area I have already created on the field as a comment

289
00:16:12,280 --> 00:16:14,980
and the model that will be type of the text will type.

290
00:16:15,310 --> 00:16:17,290
So right now, consider the textual type.

291
00:16:17,500 --> 00:16:17,870
Right.

292
00:16:18,220 --> 00:16:23,710
So now I want to do right now I'm already logging with the test, so better I want to do to create another

293
00:16:23,710 --> 00:16:24,190
account.

294
00:16:24,190 --> 00:16:28,720
And with this another account, I want to put some of the comments on particular display.

295
00:16:28,880 --> 00:16:32,650
OK, so then it's really better I click the log out, so.

296
00:16:32,670 --> 00:16:32,850
Right.

297
00:16:32,860 --> 00:16:35,750
No, I didn't create any one so better.

298
00:16:35,770 --> 00:16:38,730
I want to create another sign up and I just name it as the audience.

299
00:16:38,920 --> 00:16:45,820
OK, and I put the audience at Gmail dot com and put the password as you do me.

300
00:16:45,820 --> 00:16:47,020
One, two, three, four, five.

301
00:16:47,560 --> 00:16:49,770
And you do me one, two, three, four, five.

302
00:16:50,140 --> 00:16:54,430
No I want to do and to create all the new account as the audience.

303
00:16:54,430 --> 00:16:57,850
You can see I can't create a successful go to a locking here.

304
00:16:57,850 --> 00:17:03,370
I name it as a guardian and or password.

305
00:17:03,370 --> 00:17:05,170
You do me one, two, three, four, five.

306
00:17:05,710 --> 00:17:07,420
Now because the login.

307
00:17:08,200 --> 00:17:11,380
Yeah I can see right now I'm logging with Adient.

308
00:17:11,380 --> 00:17:11,710
Right.

309
00:17:11,950 --> 00:17:17,890
So this post is created by the test that also created by the test right now to do the ports on the comments

310
00:17:17,890 --> 00:17:25,690
for particular this post, because I read more and here I want to put that comment that this is nice

311
00:17:27,250 --> 00:17:28,600
because a comment.

312
00:17:28,990 --> 00:17:30,490
Yeah, you can see they have no error.

313
00:17:30,490 --> 00:17:31,570
That means our comment.

314
00:17:31,570 --> 00:17:33,070
Instead, it affects us fully.

315
00:17:33,310 --> 00:17:37,300
So if you want to check it like here, want to check it, go to our.

316
00:17:37,450 --> 00:17:41,920
But I want to open another new tab, then everything will be more clear to you.

317
00:17:41,920 --> 00:17:43,210
Click, enter.

318
00:17:43,240 --> 00:17:47,650
And here our name will be as Amjed.

319
00:17:48,550 --> 00:17:52,510
And then the password you give me one, two, three, four, five.

320
00:17:52,510 --> 00:17:55,570
That will be our actually support user click as a locking.

321
00:17:56,200 --> 00:17:57,940
And now if you go to our comment.

322
00:17:58,860 --> 00:18:04,020
Yes, you can see it's not perfectly visible or common sense, this is a nice and here into the common

323
00:18:04,110 --> 00:18:06,900
area is visible our name because of all.

324
00:18:07,230 --> 00:18:12,960
If you go to our model, if you go to that model in the model area, you can see for the comment I have

325
00:18:12,960 --> 00:18:17,250
already declared our is telling you the sale and then our common name.

326
00:18:17,520 --> 00:18:17,960
Right.

327
00:18:17,970 --> 00:18:22,800
In the return of the comment for the results, you can see it's not visible our discomfort.

328
00:18:23,160 --> 00:18:29,170
That means we can successfully now insert that comment and also consistent showing us the area that

329
00:18:29,190 --> 00:18:32,390
means which that actually put that comment is visible.

330
00:18:32,400 --> 00:18:32,720
Right.

331
00:18:32,730 --> 00:18:34,650
And and also is visible.

332
00:18:34,650 --> 00:18:37,890
Which block that pins which block this user.

333
00:18:37,890 --> 00:18:40,470
Put that comment, writes a friend here.

334
00:18:40,470 --> 00:18:43,480
I have already declared that part in our model area.

335
00:18:43,800 --> 00:18:46,430
So now I think it should be very much clear to you.

336
00:18:46,430 --> 00:18:48,980
You can see I have created that relation with the blog.

337
00:18:49,260 --> 00:18:55,830
So for the reasons is now getting that data, which blog and then the user also have created that relation

338
00:18:55,830 --> 00:18:59,040
with the user that we see with our user class.

339
00:18:59,040 --> 00:19:06,260
And then our comment right now consists now showing our then our comment, I hope friend is very much

340
00:19:06,270 --> 00:19:07,020
clear to you.

341
00:19:07,230 --> 00:19:09,970
So now I want to do and actually get this data so better.

342
00:19:09,980 --> 00:19:11,520
I want to add another one.

343
00:19:12,030 --> 00:19:14,940
That means here I have already answered one.

344
00:19:14,940 --> 00:19:18,300
I take another one as a wow, it's great.

345
00:19:19,170 --> 00:19:21,390
OK, I name it again, as always.

346
00:19:21,390 --> 00:19:21,660
Great.

347
00:19:21,660 --> 00:19:26,460
Click submit now go and go dot com.

348
00:19:26,460 --> 00:19:29,060
And again, you can see there is another one as well.

349
00:19:29,070 --> 00:19:29,660
It's great.

350
00:19:29,910 --> 00:19:36,870
So now on to don't actually get our this comment data and I want to visible it in our particular disposition.

351
00:19:37,080 --> 00:19:40,890
OK, so here I have already declared another call, SM six.

352
00:19:40,890 --> 00:19:46,830
So now I want displayed in our this blog details into the blog details.

353
00:19:47,340 --> 00:19:52,440
So that is our form and that is our another one as a call, as some write software that I want to do

354
00:19:52,650 --> 00:19:53,270
visible it.

355
00:19:53,640 --> 00:19:56,310
So here, first of all, I want to show our user name.

356
00:19:56,310 --> 00:20:01,350
That means here I want to put on the Hatif and I want to display our user name.

357
00:20:01,740 --> 00:20:05,370
So if in the display that user name, I think you already remember that part.

358
00:20:05,380 --> 00:20:07,470
Well, how what exactly you have to do.

359
00:20:07,470 --> 00:20:12,390
First of all, if you go to our form, that means, in our view, into the from the view I have already

360
00:20:12,390 --> 00:20:16,080
passed, you can see I have already passed that block through with this block.

361
00:20:16,080 --> 00:20:21,030
We get all that our object data and we pass it to our blog, Little Space.

362
00:20:21,390 --> 00:20:24,780
So now with this block, I want to run all the follow loop.

363
00:20:24,990 --> 00:20:27,840
OK, that means, you know, our block details here.

364
00:20:27,840 --> 00:20:28,590
After that.

365
00:20:29,010 --> 00:20:35,340
After that, I want to do undertake one of the for loop I take as a four and I just named I want the

366
00:20:35,340 --> 00:20:39,180
visible to the name as a comment or whatever he wants.

367
00:20:39,180 --> 00:20:42,210
If you want to make that things as a role, you can you name it as a role.

368
00:20:42,210 --> 00:20:48,750
So even then what in then I pass our block every data with our D block.

369
00:20:48,750 --> 00:20:49,070
Right.

370
00:20:49,080 --> 00:20:51,450
So now I want to pass it with the block.

371
00:20:51,450 --> 00:20:54,960
And also here we have to do we have to get all the top comment.

372
00:20:54,960 --> 00:20:55,220
Right.

373
00:20:55,230 --> 00:21:00,730
I want to display all that our common in particular, that area right now, they have the two comments.

374
00:21:00,730 --> 00:21:06,510
So if there have multiple comment, I want to get all that comment from here so you can to get that

375
00:21:06,510 --> 00:21:07,110
comment.

376
00:21:07,380 --> 00:21:11,790
So if you go to our I have already created that relation into the model area.

377
00:21:11,790 --> 00:21:15,030
I have already chelated created the relation with our block.

378
00:21:15,450 --> 00:21:19,350
And I named that relation in the related name as a block comment.

379
00:21:19,650 --> 00:21:25,470
So now with this block mean we can get our specific, this user all that comment.

380
00:21:25,470 --> 00:21:25,860
Right.

381
00:21:25,860 --> 00:21:29,850
So now for the reasons that I want to do and to actually use our D related name.

382
00:21:30,330 --> 00:21:35,580
So I copied and now in our that is our block details.

383
00:21:35,580 --> 00:21:37,980
So it will be with this block.

384
00:21:38,340 --> 00:21:42,960
I get our specific, this user, all that comment, that means the block comment.

385
00:21:42,960 --> 00:21:47,790
And I want to do and get all the points, I want to get all that comment right.

386
00:21:47,970 --> 00:21:52,530
And from here we get a specific this user, all the data that means common data.

387
00:21:52,530 --> 00:21:57,870
And I take that with our these comments and now with this comment, we can display everything with this

388
00:21:57,870 --> 00:21:58,410
comment.

389
00:21:59,940 --> 00:22:03,900
With this comment I want to do on the display our user name.

390
00:22:03,900 --> 00:22:09,170
That means our user name will be visible and then also after that, better.

391
00:22:09,180 --> 00:22:17,940
I want to first of all and it that means that and our FA and for and here I want to do on the visible

392
00:22:17,970 --> 00:22:24,330
our with the comment, OK, with the comment I want to do on the visible.

393
00:22:24,330 --> 00:22:29,320
Our filename, our filename will be I have already declared the phenotype.

394
00:22:29,580 --> 00:22:30,960
I feel them is the comment.

395
00:22:30,960 --> 00:22:31,260
Right.

396
00:22:31,500 --> 00:22:33,990
So now I to do get our this comment.

397
00:22:34,470 --> 00:22:37,320
So here I display our comment.

398
00:22:37,860 --> 00:22:41,980
OK and better to and to put on a bracket.

399
00:22:42,120 --> 00:22:50,250
So after that I put on the bracket and then I also want to display our display, the comment that you

400
00:22:50,250 --> 00:22:57,000
can also displayed which I want to do, and put that comment that we thought I and also I want to do

401
00:22:57,000 --> 00:22:58,290
better to first of all.

402
00:22:58,530 --> 00:23:06,930
One of the H six, OK, here, I take out the eight, six and I and then I want to look at the visible

403
00:23:06,930 --> 00:23:08,130
with this comment.

404
00:23:09,420 --> 00:23:16,770
Look with this comment I want to do I want to visible our comments that that is all we should be visibly

405
00:23:16,770 --> 00:23:17,580
or commended.

406
00:23:18,690 --> 00:23:23,300
I hope is very much clear to you what exactly the things I did on here.

407
00:23:23,370 --> 00:23:24,650
So now let's check this out.

408
00:23:24,660 --> 00:23:28,890
If you click on this table and note, first of all, and check it.

409
00:23:31,150 --> 00:23:36,850
Everything is running well now if you go and refresh it.

410
00:23:37,390 --> 00:23:40,150
Yes, you can see it's not perfectly visible.

411
00:23:40,150 --> 00:23:46,330
That name that we use are actually put that come in and that is our comment is visible.

412
00:23:46,330 --> 00:23:48,970
And also it's visible that date.

413
00:23:49,190 --> 00:23:49,630
Right.

414
00:23:50,040 --> 00:23:50,410
Right.

415
00:23:50,440 --> 00:23:55,330
So better on that one to make that as a bold, uh, here.

416
00:23:55,330 --> 00:23:56,640
That actually are comments.

417
00:23:56,640 --> 00:24:01,930
So I make is on the ball tag and the Baltic area and want to pass it.

418
00:24:02,950 --> 00:24:10,270
I pass it on here because they're Savol and now we freshet.

419
00:24:10,630 --> 00:24:11,610
Yeah, it's perfect.

420
00:24:11,920 --> 00:24:12,890
So that is our area.

421
00:24:12,890 --> 00:24:16,240
And actually putting that as a great is great.

422
00:24:16,240 --> 00:24:17,640
And that is this is nice.

423
00:24:17,650 --> 00:24:17,950
Right.

424
00:24:18,310 --> 00:24:24,550
And also if you go to another one like the or another one click is a read more than I name it.

425
00:24:24,670 --> 00:24:36,280
I know I'm already logged in with the Ardian so now I name it as a this is the best best blog site or

426
00:24:36,280 --> 00:24:37,030
blog post.

427
00:24:37,370 --> 00:24:42,580
OK, so I bought this table one of the comments like as a comment and I'll go here.

428
00:24:42,580 --> 00:24:42,840
Yeah.

429
00:24:43,030 --> 00:24:46,390
Can see it's not showing Azarian and this is the best blog post.

430
00:24:46,400 --> 00:24:50,440
And then after that I have a friend who is very much like to you.

431
00:24:50,440 --> 00:24:57,340
We successfully pulled that comment and also in our database and the database is also perfectly visible

432
00:24:57,340 --> 00:24:59,590
that every name that is a common post.

433
00:24:59,590 --> 00:24:59,850
Right.

434
00:25:00,280 --> 00:25:02,980
I and we successfully complete that part.

435
00:25:03,280 --> 00:25:09,520
So, you know, next video on to discuss about how can working with like or dislike of this post, that

436
00:25:09,520 --> 00:25:14,110
means if you want to like this post, how can like it if you want to and like this post, how can I

437
00:25:14,110 --> 00:25:14,630
like it.

438
00:25:14,650 --> 00:25:17,400
OK, so I can do that work in our next video.

439
00:25:17,400 --> 00:25:17,650
I will.

440
00:25:17,650 --> 00:25:19,750
So that things with a live example.

441
00:25:20,170 --> 00:25:23,680
So thanks for watching and I will see you in the next video.
