1
00:00:00,210 --> 00:00:01,830
Hello, friend, welcome back.

2
00:00:02,160 --> 00:00:06,450
In a previous video, we successfully set up our all that file, right?

3
00:00:06,460 --> 00:00:09,000
So that is all that file set up in our setting.

4
00:00:09,000 --> 00:00:14,280
And also we have created some of the folder as a media is static and the template.

5
00:00:14,280 --> 00:00:17,820
And also we have inputted in our waste area.

6
00:00:18,150 --> 00:00:20,520
And also I created two of these applications.

7
00:00:20,550 --> 00:00:23,400
One is the Our Eye blog application.

8
00:00:23,400 --> 00:00:25,470
Another is the app logging application.

9
00:00:25,480 --> 00:00:27,620
So I want to do all that blog related.

10
00:00:27,630 --> 00:00:33,690
Everything will be serving out this blog application area and authentication related to everything I

11
00:00:33,690 --> 00:00:36,900
want to save in our app logging application area.

12
00:00:37,290 --> 00:00:40,230
OK, so here they have also the models, right?

13
00:00:40,240 --> 00:00:45,380
So right now I want to do want to work with our these models that I want to create some of the database

14
00:00:45,390 --> 00:00:48,710
table and also add on to our sense of the database table field.

15
00:00:48,930 --> 00:00:54,060
So if you want to working with the database, then you have to work into the model area, right into

16
00:00:54,060 --> 00:00:54,840
the model area.

17
00:00:54,840 --> 00:00:59,490
First of all, that is our default authentication system into the default authentication system that

18
00:00:59,490 --> 00:01:01,590
have all the class as the user.

19
00:01:01,860 --> 00:01:04,320
So first of all, I want to do and actually imported.

20
00:01:04,320 --> 00:01:12,150
So that is from our from and then in the jungle and then the country and for the country.

21
00:01:12,150 --> 00:01:18,770
That is an old and sorry, that will be the old and from the all the original models and for the models.

22
00:01:18,780 --> 00:01:22,010
I don't want to import one of the class as a user class.

23
00:01:22,440 --> 00:01:28,650
So if you actually sarg that in Django official website, if you go to the Django official website and

24
00:01:28,650 --> 00:01:31,310
start with the using Django authentication system.

25
00:01:31,560 --> 00:01:35,320
So this Django syndication system provided one of the user object.

26
00:01:35,670 --> 00:01:40,140
So with this user object, you will get as the default field.

27
00:01:40,140 --> 00:01:45,280
That is a username and password field, email field, false name field and the last name field.

28
00:01:45,660 --> 00:01:48,740
So with this user, automatically you will get this.

29
00:01:48,750 --> 00:01:52,020
You can actually access all that field for the reasons here.

30
00:01:52,230 --> 00:01:53,850
I just simply import it.

31
00:01:53,850 --> 00:01:54,120
Right.

32
00:01:54,450 --> 00:01:58,910
So right now with this user, we can actually access all that feels right now to do.

33
00:01:58,920 --> 00:02:04,590
I want to create one of the class and appear on the class and I just name it as a user profile.

34
00:02:06,300 --> 00:02:12,600
OK, just name it as a user profile and also use will be inherited it all models and then the model.

35
00:02:13,050 --> 00:02:15,120
I just simply add both of these.

36
00:02:15,330 --> 00:02:22,470
And now here I want to do as I told you with this user, you can actually access our tea at these five

37
00:02:22,470 --> 00:02:23,160
of these field.

38
00:02:23,430 --> 00:02:28,770
And right now, if you want to add another additional field, also, you can add it so better.

39
00:02:28,770 --> 00:02:32,790
I show you right now, like for that our user profile.

40
00:02:32,790 --> 00:02:38,660
I want to add another I want a stable field as a profile picture.

41
00:02:38,730 --> 00:02:44,480
OK, so I just named one of the filename will be as a profile profile underscore picture.

42
00:02:44,940 --> 00:02:46,110
So I just simply name it.

43
00:02:46,350 --> 00:02:50,250
And this picture that means that will be as it may step.

44
00:02:50,250 --> 00:02:50,470
Right.

45
00:02:50,490 --> 00:02:56,340
So with these models I just simply added our type and our type will be as the image field.

46
00:02:57,570 --> 00:02:59,510
So it will be as the image will type.

47
00:02:59,520 --> 00:03:02,730
And what exactly our this image will be uploaded.

48
00:03:03,030 --> 00:03:05,610
Also here we have to set it in fundamental.

49
00:03:05,610 --> 00:03:07,740
I have already discussed about the things we do.

50
00:03:07,740 --> 00:03:15,740
So here it would be as a upload to upload underscore to an upload to our folder location.

51
00:03:16,020 --> 00:03:24,260
So I want to do and to create the folder as a profile piece, profile, underscore piece of pieces that

52
00:03:24,270 --> 00:03:24,980
are sort of better.

53
00:03:25,260 --> 00:03:30,720
So all that our profile picture I want to save in our media into the media folder area.

54
00:03:30,720 --> 00:03:34,270
I want to create all the new folder and I just name it as a profile pieces.

55
00:03:34,350 --> 00:03:41,180
OK, so that means here every profile, every picture will be saved, in particular that folder area.

56
00:03:41,430 --> 00:03:42,750
So I just simply add it.

57
00:03:43,110 --> 00:03:47,290
And also there is a user and I want to create one of the relation with our user.

58
00:03:47,430 --> 00:03:53,280
So right now, because of all here with this, we access our these five of these feel.

59
00:03:53,280 --> 00:03:53,570
Right.

60
00:03:53,880 --> 00:03:59,520
So no, I want to create on the relationship, but I want to take one of the variable as a user.

61
00:03:59,520 --> 00:04:03,430
And then with these models, I want to create one of the one to one relation.

62
00:04:03,880 --> 00:04:11,580
So literally, I will show you why I'm actually using it as a one to one on one bonfield, one to unfilial.

63
00:04:11,580 --> 00:04:15,960
Listen, I want to create one to one relation with all this user.

64
00:04:16,150 --> 00:04:17,280
OK, that means this user.

65
00:04:17,280 --> 00:04:18,990
Plus I just simply add it.

66
00:04:19,440 --> 00:04:19,770
Right.

67
00:04:19,950 --> 00:04:22,400
And also I want to add all the relation name.

68
00:04:22,410 --> 00:04:26,170
If you want to literally access it, then you can access it with the selected name.

69
00:04:26,490 --> 00:04:34,320
So here I just simply added as a related like a related underscore name and with the selected name,

70
00:04:34,320 --> 00:04:36,330
I want to put that name.

71
00:04:36,330 --> 00:04:37,590
It will be whatever he wants.

72
00:04:37,590 --> 00:04:40,160
Right now, I name it as a user underscore profile.

73
00:04:41,160 --> 00:04:46,590
So this step of one of the name and also here I want to do on the set as is on the left, that means

74
00:04:46,590 --> 00:04:48,210
to on underscore Dilek.

75
00:04:49,020 --> 00:04:53,940
So on the left with these models, they have also of the function as a cascade.

76
00:04:55,620 --> 00:04:59,700
So I just simply added as a cascade that means when our this user.

77
00:04:59,970 --> 00:05:06,210
We know what the issues are, will be the issues are related, every profile images also with elected.

78
00:05:06,510 --> 00:05:11,580
OK, so for the reasons here, I just simply added on the leg model as a cascade.

79
00:05:11,850 --> 00:05:16,860
That means our I guess I have added another additional field as a profile picture.

80
00:05:17,130 --> 00:05:23,070
That means with this user will access five of these field in this user will be deleted automatically.

81
00:05:23,080 --> 00:05:26,100
This user related profile images also will be elected.

82
00:05:26,310 --> 00:05:32,460
OK, so now we are ready to migrate it like here I have created one and then, you know, logging into

83
00:05:32,460 --> 00:05:33,900
the logging that is our models.

84
00:05:34,170 --> 00:05:38,040
So here I have created the class and I just named the class as a user profile.

85
00:05:38,040 --> 00:05:38,310
Right.

86
00:05:38,670 --> 00:05:45,780
So right now on to the end because I save all and here and that is our main project, victory.

87
00:05:45,780 --> 00:05:48,360
So that is our positive criticism.

88
00:05:48,370 --> 00:05:49,280
My Block project.

89
00:05:49,290 --> 00:05:49,570
Right.

90
00:05:49,920 --> 00:05:53,060
So here I want to do to make it so fun to migrated.

91
00:05:53,070 --> 00:05:57,640
First of all, you have to write down a python or python or whatever you want.

92
00:05:57,660 --> 00:06:02,970
So now I make it as a pie and the madness pie, madness pie.

93
00:06:02,970 --> 00:06:05,640
And then I want to do to make it fast.

94
00:06:06,810 --> 00:06:10,260
So in fundamental, I have already discussed about the things we do friends.

95
00:06:10,280 --> 00:06:16,110
So when you actually migrated, they have the by default, some of the database as a school like database

96
00:06:16,110 --> 00:06:18,600
automatically should be created on the school's database.

97
00:06:18,600 --> 00:06:22,740
And here lately also we have to do we have to create one of the super admin.

98
00:06:22,740 --> 00:06:23,060
Right.

99
00:06:23,070 --> 00:06:27,690
So now I just simply added as a PI menaced by and the magnet click as they enter.

100
00:06:29,160 --> 00:06:31,740
Sorry, here I just click the enter.

101
00:06:33,760 --> 00:06:39,280
Yeah, you can see that is all the default database table, everything is done, successfully installed,

102
00:06:39,400 --> 00:06:39,820
right?

103
00:06:40,190 --> 00:06:41,740
So everything is installed here.

104
00:06:41,750 --> 00:06:45,370
You can see that is our DB skylight is also added like the one here.

105
00:06:45,760 --> 00:06:50,040
And also after that, I want to turn to Mike with our this specific class.

106
00:06:50,050 --> 00:06:51,970
That means I have created the class.

107
00:06:51,970 --> 00:06:58,330
So right now I have to do here, if you want to do that, work with the PI and the man is start by and

108
00:06:58,330 --> 00:07:03,880
then make migration's, make migration's and then our opinion.

109
00:07:03,910 --> 00:07:05,440
So right now they have the two app.

110
00:07:05,440 --> 00:07:05,670
Right.

111
00:07:05,710 --> 00:07:08,220
One is the app logging and that is our Adblock.

112
00:07:08,500 --> 00:07:14,710
So I want to update our that because I want to migrate our specific this app logging these models.

113
00:07:15,010 --> 00:07:20,830
So here I can just name it as the app logging app is called logging.

114
00:07:20,990 --> 00:07:25,390
OK, that means the Pieman is pie and make migration's or app logging.

115
00:07:25,690 --> 00:07:33,160
So if you click enter now you can see snow automatically showing our created model in our user profile.

116
00:07:33,160 --> 00:07:35,350
That fits into the migration idea automatically.

117
00:07:35,380 --> 00:07:37,020
So we created our this file.

118
00:07:37,030 --> 00:07:40,120
Right, so I don't want to do I want to migrate it again.

119
00:07:40,150 --> 00:07:49,690
That means the path I so here it will be as a pie and then managed by and that migrate so that it will

120
00:07:49,690 --> 00:07:51,520
be as a migrate click as they enter.

121
00:07:52,660 --> 00:07:58,090
Yeah, you can see our migration is not successfully done, so now I want to do want to create another

122
00:07:58,090 --> 00:08:05,100
database table for our block that means our app blocks to go to our blog, and that is our Adblock model.

123
00:08:05,500 --> 00:08:06,480
So do the modern media.

124
00:08:06,490 --> 00:08:09,310
Also here, we need our user for the reasons here.

125
00:08:09,460 --> 00:08:16,990
First of all, I want to input our user that is our from and then Django and then the country country

126
00:08:16,990 --> 00:08:20,940
and then all and then models from here.

127
00:08:20,950 --> 00:08:22,570
I want to do untampered.

128
00:08:22,900 --> 00:08:24,790
I want to input our user class.

129
00:08:24,910 --> 00:08:25,210
Right.

130
00:08:25,250 --> 00:08:30,910
So first of all, I just simply added and now I want to do and to create on the plus.

131
00:08:31,750 --> 00:08:33,800
I just named that class as a blog.

132
00:08:33,820 --> 00:08:39,610
OK, so whatever he wants right now, I make that as a blog and all six will be inherited our model

133
00:08:39,880 --> 00:08:41,200
and then our model.

134
00:08:42,160 --> 00:08:42,540
Right.

135
00:08:42,880 --> 00:08:44,170
So that is our model plus.

136
00:08:44,620 --> 00:08:50,110
And now here for our blog, I want to do I want to assign some of the field and into the blog area.

137
00:08:50,110 --> 00:08:51,880
We need that auto right.

138
00:08:51,900 --> 00:08:53,500
So first of all, I take all of the field.

139
00:08:53,500 --> 00:08:54,760
It shall be as Ozturk.

140
00:08:55,690 --> 00:08:59,110
So that is all talk OK, which will be as an author.

141
00:08:59,350 --> 00:09:04,780
And then with these models, with these models here, I want to declare one of the Franchi because of

142
00:09:04,780 --> 00:09:05,260
all here.

143
00:09:05,260 --> 00:09:08,220
We have to also create that relation with our this user.

144
00:09:08,230 --> 00:09:08,630
Right.

145
00:09:08,650 --> 00:09:11,040
So from here we'll get our user name.

146
00:09:11,410 --> 00:09:16,010
You can see we will get that username, that password email field and the first thing.

147
00:09:16,010 --> 00:09:19,060
And so right now we will want to access that user name for the reasons here.

148
00:09:19,060 --> 00:09:22,430
I want to do I want to added our this user.

149
00:09:22,450 --> 00:09:27,100
So with this author Model S to declare the foreign key.

150
00:09:29,890 --> 00:09:36,250
So I just simply added as a foreign key and foreign key, without which glass Franchi our unadaptable

151
00:09:36,250 --> 00:09:36,890
as a user.

152
00:09:37,150 --> 00:09:41,140
OK, so I just simply added and also will be as their own dialect.

153
00:09:41,140 --> 00:09:44,940
So it'll be just like the same as it on dialect and then models.

154
00:09:46,000 --> 00:09:49,210
So with these models, it will be as a function of the cascade.

155
00:09:50,800 --> 00:09:52,270
So it will be as a cascade.

156
00:09:52,390 --> 00:09:58,150
So that means whatever the field I want to assign for our this blog automatically when this author will

157
00:09:58,150 --> 00:10:05,020
be elected, these auto related everything that means here might be some of the blog title, blog images,

158
00:10:05,020 --> 00:10:06,800
everything will be re-elected, OK.

159
00:10:06,940 --> 00:10:13,110
So far the year here I make it as a only like models and the cascade and also the relation name.

160
00:10:13,600 --> 00:10:16,860
So if the relation name it will be as a related.

161
00:10:20,170 --> 00:10:22,450
So that will be related and related name.

162
00:10:22,450 --> 00:10:25,040
I want to do I to make as a post author.

163
00:10:25,100 --> 00:10:27,530
OK, first underscore author.

164
00:10:28,990 --> 00:10:35,260
So just name it as a related name as opposed to particularly we'll use it and then everything will be

165
00:10:35,260 --> 00:10:36,240
more clear to you.

166
00:10:36,730 --> 00:10:39,870
So that is our author and also for the blog.

167
00:10:39,880 --> 00:10:47,350
I want to assign some of the database that will feel this will be as a blog title blog under title.

168
00:10:47,840 --> 00:10:53,770
I just take one of the variables and this blog title area with these models is to be as a character

169
00:10:53,770 --> 00:10:54,350
filtrate.

170
00:10:54,370 --> 00:10:56,620
So I just simply added as a character.

171
00:11:00,140 --> 00:11:06,110
So I just simply added as a character feel and then for this character, I feel I also want to assign

172
00:11:06,110 --> 00:11:13,690
some of the maximum length so it will be just maximum and the length maximum length for this.

173
00:11:13,700 --> 00:11:16,470
I just simply added as a 264.

174
00:11:16,520 --> 00:11:25,850
OK, and then also there is another thing I want to do, and I want to add that Vamos Vamos is just

175
00:11:25,850 --> 00:11:27,250
like as a placeholder.

176
00:11:27,260 --> 00:11:33,590
So I just simply am mad as a Barbas name and Barbas name will be as whatever he wants.

177
00:11:33,590 --> 00:11:35,470
And now I just put as a boot.

178
00:11:36,410 --> 00:11:38,600
Sorry, put a title.

179
00:11:40,750 --> 00:11:45,880
Would the title so that will be, as I told you, Barbara's name is like as a placeholder.

180
00:11:45,890 --> 00:11:48,850
So our placeholder text will be as a pooter title.

181
00:11:49,040 --> 00:11:55,840
OK, and then I want to to take another one as a slag, slag and slag is very much important.

182
00:11:55,840 --> 00:11:56,680
One of the part.

183
00:11:56,950 --> 00:12:03,310
So here I also want to add it with this model for the slag that have also another field type as a slag

184
00:12:03,310 --> 00:12:03,670
field.

185
00:12:04,120 --> 00:12:08,620
So I just simply add as a slag slag and then field.

186
00:12:09,820 --> 00:12:13,390
So that will be at the slag field and for the slack field.

187
00:12:13,390 --> 00:12:22,780
I also add that maximum length, maximum length for this other two, 64, and then I make that as a

188
00:12:22,780 --> 00:12:27,430
unique OK, that means this will be as a unique and unique.

189
00:12:27,430 --> 00:12:28,750
I make it as a tool.

190
00:12:29,260 --> 00:12:30,730
So that will be as a true.

191
00:12:31,210 --> 00:12:34,080
And slag, as I told you, is very much important.

192
00:12:34,090 --> 00:12:38,740
One of the things like if you go to if you go to that, you do me.

193
00:12:39,720 --> 00:12:44,430
And would you do me here, you can see that some of the course and for the every cause, that is actually

194
00:12:44,430 --> 00:12:45,380
the title, right.

195
00:12:45,600 --> 00:12:52,350
But if you open it, if you open this course, then you can see that it's actually the our wall is just

196
00:12:52,350 --> 00:12:53,420
like our title.

197
00:12:53,790 --> 00:12:56,990
That means it's actually getting our this title as you are.

198
00:12:57,270 --> 00:12:58,690
So that is actually the slack.

199
00:12:58,710 --> 00:13:01,730
OK, so here I also want to do that type of work.

200
00:13:01,740 --> 00:13:07,260
One of the things we will put in our blog title area, our slack will be automatically that means our

201
00:13:07,290 --> 00:13:09,390
you will be with our this title.

202
00:13:09,540 --> 00:13:14,020
OK, so one of the things we will put in our title area, our referral will be in our title.

203
00:13:14,040 --> 00:13:15,930
That means it will be just like that.

204
00:13:15,960 --> 00:13:17,600
That is actually our title here.

205
00:13:17,610 --> 00:13:22,530
You can see that there you are also that is our total title is not visible on here.

206
00:13:23,010 --> 00:13:24,240
So that is actually the slack.

207
00:13:24,250 --> 00:13:29,910
So it's very much import and it's very much also very much as your friend, you are the real stuff here.

208
00:13:29,910 --> 00:13:34,350
If you want to create this type of bomb that is your friendly Warrell, then you can set up it with

209
00:13:34,350 --> 00:13:38,100
this like look, for the reasons I just simply added as a slag.

210
00:13:38,100 --> 00:13:44,040
And with these models, our type will be as it's like field type and maximum length, and then it will

211
00:13:44,040 --> 00:13:48,240
be as unique because of all this, like also should be as unique.

212
00:13:48,300 --> 00:13:48,640
Right.

213
00:13:48,710 --> 00:13:50,180
And then it will be conflict.

214
00:13:50,190 --> 00:13:55,740
So here, for the reasons I just make it as a unique, as a true, that means our dislike will be added

215
00:13:55,740 --> 00:13:58,380
to discuss about that later.

216
00:13:58,410 --> 00:13:59,970
Everything will be more clear to you.

217
00:14:00,240 --> 00:14:03,990
And also for our blog, I want to add another feel for the blog.

218
00:14:03,990 --> 00:14:07,620
We need another blog, contain blog emails.

219
00:14:07,620 --> 00:14:07,910
Right.

220
00:14:08,190 --> 00:14:14,930
So I take another feel as a blog, contain, underscore, contain, some blog, contain.

221
00:14:14,940 --> 00:14:22,260
And here with these models, this blog content type will be the large amount of the text for the reasons

222
00:14:22,260 --> 00:14:28,380
they have done that type as a TextField field text field type.

223
00:14:28,380 --> 00:14:29,880
And for this text will type.

224
00:14:29,880 --> 00:14:31,290
I will here.

225
00:14:31,290 --> 00:14:37,740
I want to do want to use that or these Barbas name says a verbose name, as I told you, is just like

226
00:14:37,740 --> 00:14:39,150
as one of the placeholder.

227
00:14:39,150 --> 00:14:45,560
So you should be sure that placeholder as a what is on your mind.

228
00:14:46,230 --> 00:14:50,190
So this type of of the text that is placeholder text, which will be visible.

229
00:14:50,550 --> 00:14:51,140
OK, different.

230
00:14:51,390 --> 00:14:57,840
And then also for our blog, I want to add another field as an image that means our blog emails.

231
00:14:58,830 --> 00:15:06,570
And then with this model, this will be as the emails will type sorry emails field.

232
00:15:08,250 --> 00:15:12,210
So it will be as emails field type and what exactly will be uploaded.

233
00:15:12,720 --> 00:15:18,900
So here also you have to do you have to add that as they upload to upload to where I want to, I want

234
00:15:18,900 --> 00:15:25,910
to create another folder as a blog, emails, blog, underscore emails because of this type of one of

235
00:15:25,920 --> 00:15:33,510
the folder I want to do and to create a better I named as images the block images I just simply copied

236
00:15:33,510 --> 00:15:34,560
in our media.

237
00:15:34,920 --> 00:15:40,650
I just created one of the folder and name it as a block images that means are all the block related

238
00:15:40,650 --> 00:15:43,880
emails will be serving our particular D folder area.

239
00:15:44,010 --> 00:15:50,130
OK, and here also if you want to visible the placeholder, you can be it with this verbose name better.

240
00:15:50,160 --> 00:15:59,580
I name it, I name it as a Vivus by name or verbose name will be as the emails are blogging this blog

241
00:15:59,580 --> 00:16:00,140
emails.

242
00:16:00,180 --> 00:16:00,540
Right.

243
00:16:00,750 --> 00:16:07,740
So I just simply added and then I we need our published did and the update did I just take all the variable

244
00:16:07,740 --> 00:16:13,350
as a published it published under Article Date and published.

245
00:16:13,350 --> 00:16:18,210
It will be with these models and they have also another that is active all the time feel right.

246
00:16:18,210 --> 00:16:20,880
So this will be as another type as a daytime field.

247
00:16:21,600 --> 00:16:27,300
So the date and then the time, the time and field.

248
00:16:28,320 --> 00:16:33,540
So with this daytime feel, I want to do I want to add another option to have another option as the

249
00:16:33,540 --> 00:16:34,860
auto now add.

250
00:16:35,430 --> 00:16:37,560
So that is actually all the default on friend.

251
00:16:37,560 --> 00:16:39,060
You have to actually remember it.

252
00:16:39,180 --> 00:16:45,770
So that is auto underscore now and then add and I make that auto now add as a true.

253
00:16:46,470 --> 00:16:51,750
So here we need to actually create this block automatically will be created one of the dead.

254
00:16:51,900 --> 00:16:53,910
And I just make that things as a true.

255
00:16:53,910 --> 00:16:56,390
That means you cannot actually change it automatically.

256
00:16:56,420 --> 00:17:02,520
Still be get your current date and this current date will still be created on the current bit on here.

257
00:17:02,850 --> 00:17:09,780
That will be our published it and also to take another one as an update, that update underscore date.

258
00:17:09,780 --> 00:17:16,210
And also with this model, this will be the same as a date time field and in the daytime feel they have

259
00:17:16,330 --> 00:17:21,810
another option as auto now sorry auto underscore now.

260
00:17:22,110 --> 00:17:28,110
So with this auto no, I want to also make the things as a true OK, make that things as a true.

261
00:17:28,110 --> 00:17:35,100
That means when this blog, when you want to see if you want to read this blog, when you update this

262
00:17:35,100 --> 00:17:38,280
blog automatically will be updated that date.

263
00:17:38,520 --> 00:17:38,970
So they have.

264
00:17:39,050 --> 00:17:45,350
Often, as it turns now, that is when this block will be updated, automatically admitted that will

265
00:17:45,350 --> 00:17:46,840
be updated for the reasons here.

266
00:17:46,850 --> 00:17:49,150
I make that as a true friend.

267
00:17:49,490 --> 00:17:53,620
And here if you want to display our esteemed representation.

268
00:17:53,630 --> 00:17:55,280
So here if you want to do that.

269
00:17:55,280 --> 00:18:00,110
Well, in fundamental, I have already discussed about the things we do, the reality star and then

270
00:18:00,110 --> 00:18:02,780
and underline and then the self.

271
00:18:04,130 --> 00:18:04,480
Right.

272
00:18:04,490 --> 00:18:08,690
So so we actually show that we use data in our database field area.

273
00:18:09,110 --> 00:18:10,170
So it should be displayed.

274
00:18:10,550 --> 00:18:19,200
So here I just simply added as a return, OK, return and return which field you want to display.

275
00:18:19,220 --> 00:18:26,720
I want to make the things that a self serving or I want to show our blog title shall be displayed in

276
00:18:26,720 --> 00:18:27,850
our blog title area.

277
00:18:28,430 --> 00:18:29,060
So perfect.

278
00:18:29,090 --> 00:18:31,070
So here I have created two of this.

279
00:18:31,070 --> 00:18:37,730
One is our user profile, plus another for our blog into the blog model here for the blog.

280
00:18:37,730 --> 00:18:44,580
I have added some of the feel as an author, blog, title, slag blog, contain Bloche Maze published

281
00:18:44,580 --> 00:18:47,450
dead and updated suffering for a purpose.

282
00:18:47,450 --> 00:18:50,650
I am actually using this type of on the fields.

283
00:18:50,660 --> 00:18:53,350
If you want to add multiple fields, you can add it.

284
00:18:53,510 --> 00:18:57,290
But if you understand that main concept, then you can do whatever you want.

285
00:18:57,440 --> 00:19:02,150
And also for the blog, we need that the comments option, the like options.

286
00:19:02,150 --> 00:19:02,430
Right.

287
00:19:02,750 --> 00:19:05,260
So better to do than to continue this process, you know.

288
00:19:05,300 --> 00:19:11,330
Next video, I will create another two of this class for our blog as a comments and the likes so we

289
00:19:11,330 --> 00:19:12,200
can do that work.

290
00:19:12,200 --> 00:19:15,410
In our next video, I will show that things with a live example.

291
00:19:15,860 --> 00:19:19,220
So thanks for watching and I will see you in the next video.
