1
00:00:00,240 --> 00:00:06,350
Hello, friend will come back in a previous video, we successfully designed our sign up form page,

2
00:00:06,360 --> 00:00:11,640
so that is are all that filled the email, username, password and password.

3
00:00:11,640 --> 00:00:11,930
Right.

4
00:00:12,060 --> 00:00:17,220
And also that they are logging so long, we had to complete our sign up portion and also we have to

5
00:00:17,220 --> 00:00:19,140
complete that logging option.

6
00:00:19,470 --> 00:00:24,150
So if you want to work with this, first of all, what we have to do, we have to migrate that we have

7
00:00:24,150 --> 00:00:26,670
to migrate all that our default database table.

8
00:00:26,860 --> 00:00:29,260
So if you want to migrate it, what exactly you have to do?

9
00:00:29,280 --> 00:00:31,170
I hope you already remember that part.

10
00:00:31,590 --> 00:00:36,290
So here I have already download one terminal, but I did want to create another terminal.

11
00:00:37,080 --> 00:00:39,780
So that is our main project into the project area.

12
00:00:39,810 --> 00:00:43,380
I want to do it before my own to save it all.

13
00:00:43,770 --> 00:00:45,920
And now I want to migrate people to migrate.

14
00:00:45,930 --> 00:00:50,340
Then you have to write down the pie and the pie and then migrate.

15
00:00:51,390 --> 00:00:51,720
Right?

16
00:00:51,750 --> 00:00:58,020
That means our pie, manners, pie and the migrating as they enter that it will be added all that our

17
00:00:58,020 --> 00:00:58,920
default table.

18
00:00:58,920 --> 00:01:04,090
You will see that is all that our default table that is a default table is already initialized.

19
00:01:04,350 --> 00:01:06,440
That means everything is not perfectly set it.

20
00:01:06,810 --> 00:01:12,970
And also I have created one of them that is our app logging into the app logging area.

21
00:01:12,990 --> 00:01:14,580
I also want to want to migrate.

22
00:01:14,580 --> 00:01:17,010
It migrated so want to migrate it.

23
00:01:17,010 --> 00:01:18,200
What exactly you have to do.

24
00:01:18,210 --> 00:01:27,930
You have to write down the pie and then manor's dot pie and then make migration's make migration's and

25
00:01:27,930 --> 00:01:31,680
then our app name, our app name app created as an app.

26
00:01:31,680 --> 00:01:35,670
Underscore Locky no click as they enter.

27
00:01:37,140 --> 00:01:42,920
So it's not showing that no change is detected and after that, I want to run out my grade again by

28
00:01:42,930 --> 00:01:48,550
and the man is by and then my get no clinkers enter.

29
00:01:49,530 --> 00:01:52,110
So that is all that are no migration's to apply because of.

30
00:01:52,110 --> 00:01:55,830
Well, actually, I didn't create anything in our model that I have created.

31
00:01:55,830 --> 00:01:59,010
The SO for the reasons actually is showing us a no.

32
00:01:59,510 --> 00:02:01,150
So I will do that thing again.

33
00:02:01,200 --> 00:02:06,960
So right now, first of all, I want to do we have successfully implemented all that our default best

34
00:02:06,960 --> 00:02:07,860
tables right now.

35
00:02:07,860 --> 00:02:14,570
If you want to access it, that means if you want to access our admin, that means that admin players

36
00:02:14,620 --> 00:02:16,380
enter Algazi.

37
00:02:16,380 --> 00:02:18,600
Right now you can actually access our D admin.

38
00:02:18,930 --> 00:02:21,890
So I want to do and to create the super user.

39
00:02:21,900 --> 00:02:26,390
That means if I want to access that our admin panel, then we have to create one of the super user.

40
00:02:26,400 --> 00:02:26,770
Right.

41
00:02:26,790 --> 00:02:28,170
So now let's do that work.

42
00:02:28,640 --> 00:02:33,500
So you want to create that super user we have to write down as the pie and then manage by.

43
00:02:33,930 --> 00:02:39,330
So it will be as a managed by and then our if you want to create that super user, you have to write

44
00:02:39,330 --> 00:02:40,350
down and create.

45
00:02:40,770 --> 00:02:41,130
Right.

46
00:02:41,130 --> 00:02:44,940
Create super user and know how to do that.

47
00:02:44,940 --> 00:02:50,850
Is your command as a pie managed by and the creators to produce not playing as they enter now because

48
00:02:50,850 --> 00:02:52,320
it's not showing our default one.

49
00:02:52,320 --> 00:02:57,180
That means that I'm just so right now that want to use our default, like then you can create a new

50
00:02:57,180 --> 00:02:57,450
one.

51
00:02:57,450 --> 00:02:58,860
I have already discussed about that.

52
00:02:58,860 --> 00:03:05,340
Things with different now because they enter and there is an email, I name it as the admin at the Gmail

53
00:03:05,340 --> 00:03:11,820
dot com and the password I put the password is you do me one, two, three, four, five and now click

54
00:03:12,030 --> 00:03:14,910
enter that you do me one, two, three, four, five.

55
00:03:14,930 --> 00:03:15,970
Please enter.

56
00:03:16,530 --> 00:03:19,650
You can see something in your password that match better.

57
00:03:20,070 --> 00:03:21,390
I make it again as you do me.

58
00:03:21,390 --> 00:03:24,360
One, two, three, four, five and you do me.

59
00:03:24,360 --> 00:03:25,910
One, two, three, four, five.

60
00:03:25,920 --> 00:03:26,870
Because enter.

61
00:03:26,970 --> 00:03:31,040
Yeah you can see our super user has successfully created.

62
00:03:31,050 --> 00:03:35,970
So now if you want to access your database that means that being penalty is a refresh.

63
00:03:36,150 --> 00:03:40,200
And now I have to make it as a Amjed because of all I name it as I'm just right.

64
00:03:40,980 --> 00:03:45,210
So I name it as a by default name as Amjed that is my computer name.

65
00:03:45,600 --> 00:03:48,120
I'm didn't put the password as you do me.

66
00:03:48,120 --> 00:03:49,470
One, two, three, four, five.

67
00:03:49,630 --> 00:03:50,730
Clinkers deadlocking.

68
00:03:51,820 --> 00:03:56,610
Yeah, you can see now you can actually successfully logged in and here there is our database table

69
00:03:56,620 --> 00:03:57,580
feel as it user.

70
00:03:57,590 --> 00:04:02,990
So if you go to that user right now, I have all created one of the super user as Amjed right.

71
00:04:03,490 --> 00:04:09,430
So friend here I want to do that will be one of the social media project for of the social media project

72
00:04:09,430 --> 00:04:16,450
without any user create one of the sign up form automatically it will be created one of the profile

73
00:04:16,450 --> 00:04:16,860
page.

74
00:04:16,870 --> 00:04:18,550
That means this user profile.

75
00:04:18,790 --> 00:04:20,670
OK, so who can do that work.

76
00:04:20,680 --> 00:04:21,380
I show you.

77
00:04:21,400 --> 00:04:24,700
So I hope you can well understand about it what exactly I want.

78
00:04:24,730 --> 00:04:31,360
So when any user sign up from here or when any users sign up from this position automatically, it will

79
00:04:31,360 --> 00:04:34,990
be created one of the profile for a specific user.

80
00:04:35,170 --> 00:04:40,090
OK, that means you shall be created when the user and also we created one of the profile.

81
00:04:40,420 --> 00:04:43,000
Saho can do that for doing this is step by step.

82
00:04:43,000 --> 00:04:45,840
I show you I should be very much interactive.

83
00:04:45,850 --> 00:04:52,390
One of the part like first of all, I want to create one of the profile that means our user profile

84
00:04:52,420 --> 00:04:54,150
on the table.

85
00:04:54,460 --> 00:04:59,370
So in our app logging, if you do create on the table, we have to work in our model site.

86
00:04:59,650 --> 00:05:03,220
So with the model Sadiya, that is our default import models.

87
00:05:03,220 --> 00:05:05,950
And also I wanted to improve our user class.

88
00:05:05,950 --> 00:05:07,960
I have already discussed about the things we do.

89
00:05:08,260 --> 00:05:13,900
So that is in our form and that is on Django formatted the Django than the concrete.

90
00:05:14,650 --> 00:05:18,130
So from the country that the old and then models.

91
00:05:18,760 --> 00:05:22,570
Right, there is a model from here you have to import our user class.

92
00:05:22,580 --> 00:05:28,900
So first of all, I want to use it and then I want to turn to create another class for our profile.

93
00:05:29,260 --> 00:05:32,970
So that will be the class and I just name it as the user profile.

94
00:05:33,880 --> 00:05:35,080
OK, profile.

95
00:05:35,230 --> 00:05:40,270
That will be the class name here I want to do it will be inherited our models.

96
00:05:40,960 --> 00:05:43,330
That means our models and then model class.

97
00:05:45,100 --> 00:05:45,570
Right.

98
00:05:45,580 --> 00:05:46,990
That will be our model.

99
00:05:46,990 --> 00:05:51,320
And then here I want to do want to take some of the field for this user.

100
00:05:51,340 --> 00:05:53,830
So first of all, this will be connected with our user.

101
00:05:53,830 --> 00:05:54,120
Right.

102
00:05:54,130 --> 00:05:59,160
As I told you, when our end user will be created, this user related, our profile will be created.

103
00:05:59,530 --> 00:06:02,140
So for the reasons I take, one of the variable is the user.

104
00:06:02,440 --> 00:06:08,590
And then with all these models and then I want to create the one, two, one Felician, that means a

105
00:06:08,590 --> 00:06:14,290
one to one field, OK, one to one field.

106
00:06:14,290 --> 00:06:19,530
And I want to create that situation without which things I want to create relation with this user model.

107
00:06:19,540 --> 00:06:19,870
Right.

108
00:06:20,170 --> 00:06:27,640
So I simply add our user model and then it'll be just like the same as I want to add to the on underscore

109
00:06:27,640 --> 00:06:28,150
delek.

110
00:06:28,870 --> 00:06:34,090
That means whatever the field I want to create for our D profile, whenever this user will be elected,

111
00:06:34,090 --> 00:06:38,190
this user related, every data I want someone to do and elected.

112
00:06:38,320 --> 00:06:43,150
OK, so I won't name it on Dilek and on the left will be with our models.

113
00:06:44,140 --> 00:06:44,430
Right.

114
00:06:44,470 --> 00:06:46,630
With these models it should be as a cascade.

115
00:06:47,800 --> 00:06:53,170
So I have already discussed all the things we do before and also from the person, the name for distillation,

116
00:06:53,170 --> 00:06:54,850
you can name it with a related name.

117
00:06:54,850 --> 00:06:55,150
Right.

118
00:06:55,600 --> 00:07:03,250
That will be as a related related underscore name and I just name it as a user profile.

119
00:07:03,550 --> 00:07:05,410
OK, name it as a user profile.

120
00:07:06,520 --> 00:07:08,040
So will be as a user profile.

121
00:07:08,230 --> 00:07:08,740
Perfect.

122
00:07:08,740 --> 00:07:10,660
I hope you can well understand about it friend.

123
00:07:10,930 --> 00:07:18,130
And then I want to add some of the field for our this user like here I want to add as a profile picture,

124
00:07:18,970 --> 00:07:25,540
OK, profile picture will be needed also with the profile picture and then with these models it will

125
00:07:25,540 --> 00:07:29,020
be as the image will type right is the image field.

126
00:07:29,950 --> 00:07:33,500
It'll be as image field type and then where you want to upload.

127
00:07:33,580 --> 00:07:41,990
So you have to add that other upload, upload, underscore to upload to, you know, which folder.

128
00:07:42,010 --> 00:07:43,870
So here you have to declare that folder name.

129
00:07:44,170 --> 00:07:49,030
So I name it as a profile of a profile piece with this.

130
00:07:49,030 --> 00:07:50,980
So it'll be uploaded on here.

131
00:07:50,980 --> 00:08:00,550
And also to do I want to make as a blank blank will be as a true sorry to your some blank will be as

132
00:08:00,590 --> 00:08:04,540
a true friend and also to undertake another field.

133
00:08:04,550 --> 00:08:10,150
So better upload to that means in our upload to folder should be created on the folder in our media

134
00:08:10,150 --> 00:08:10,630
folder.

135
00:08:11,050 --> 00:08:17,190
See to the media folder I have created on the folder as a profile pic since that means all that profile

136
00:08:17,210 --> 00:08:20,350
related picture will be Saib in our particular this folder.

137
00:08:20,620 --> 00:08:20,980
Right.

138
00:08:21,220 --> 00:08:22,960
And also make the things as a true.

139
00:08:22,960 --> 00:08:24,670
That means you will be not rekia.

140
00:08:24,700 --> 00:08:30,310
OK, so that means this field is knowledgeable and then I don't want to take another one of the data,

141
00:08:30,310 --> 00:08:38,260
but so that about this type of one of the name suits with these models, that means with these models

142
00:08:38,260 --> 00:08:39,760
it should be as a dead field.

143
00:08:41,860 --> 00:08:43,420
So you should be as a deck field.

144
00:08:43,420 --> 00:08:47,650
OK, that means that is a clear on the date and calendar will be loaded in fundamental.

145
00:08:47,650 --> 00:08:49,510
I have already discussed about the things we do.

146
00:08:49,510 --> 00:08:50,380
How can I add that?

147
00:08:50,380 --> 00:08:50,890
That will.

148
00:08:51,390 --> 00:08:58,590
So first of all, I want to make that as a black OK, so I make it as a blank and blank will be as a

149
00:08:58,590 --> 00:09:02,670
true blank will be the true.

150
00:09:02,670 --> 00:09:06,270
And I make it as a null that Mr. will be a true.

151
00:09:07,080 --> 00:09:10,340
OK, I mean, as a blank true and not true.

152
00:09:10,770 --> 00:09:16,970
And then the will I take another field as a website and with these models.

153
00:09:17,310 --> 00:09:24,030
With these models is to be as a website will be you are typewrite social because you are you should

154
00:09:24,170 --> 00:09:28,290
that you are Oil-Field, you should be as you are a full type.

155
00:09:28,290 --> 00:09:36,050
And then I also want to do want to make as a blank blank will be as a true OK shall we as a true.

156
00:09:36,390 --> 00:09:42,210
And then I take another one of the Facebook posts if you want to, if you want to add multiple field,

157
00:09:42,210 --> 00:09:43,020
you can add this.

158
00:09:43,020 --> 00:09:46,590
So right now I name it as a with the models.

159
00:09:46,710 --> 00:09:49,830
So with these models that will be the same.

160
00:09:49,830 --> 00:09:53,640
You are well you are a full type and I make it as a blank.

161
00:09:54,750 --> 00:09:59,430
Blank is equal to as a true be as a true.

162
00:09:59,640 --> 00:10:01,770
I hope you can all understand about it friend.

163
00:10:01,770 --> 00:10:08,340
Here I have created one of the class as a model area in the model I have created on the user profile.

164
00:10:08,340 --> 00:10:10,350
So into the user profile as I told you.

165
00:10:10,770 --> 00:10:16,860
And if you go to our view, seemed the view area before we successfully registered one of the user.

166
00:10:16,860 --> 00:10:17,250
Right.

167
00:10:17,490 --> 00:10:24,250
And here, as I told you, I want to do with any user will be registered and after that register, automatically

168
00:10:24,250 --> 00:10:25,200
it will be created.

169
00:10:25,200 --> 00:10:29,970
One of the profile that without all that field, the result, user profile.

170
00:10:30,570 --> 00:10:30,920
Right.

171
00:10:31,170 --> 00:10:37,080
So if you want to do that, work with the same time, then here we have to work like after that.

172
00:10:37,080 --> 00:10:37,530
After the.

173
00:10:38,160 --> 00:10:42,660
OK, here I take one of the another variable of the user and risk profile.

174
00:10:42,900 --> 00:10:48,180
And with this user profile, I have already created our model name.

175
00:10:48,250 --> 00:10:49,460
That is our user profile.

176
00:10:49,530 --> 00:10:51,150
And I want to do want to access it.

177
00:10:51,150 --> 00:10:52,200
So you want to access it.

178
00:10:52,200 --> 00:10:54,240
First of all, we have to also load it, right?

179
00:10:54,660 --> 00:10:55,590
That means here.

180
00:10:55,830 --> 00:11:01,350
Here from from that is our app logging and from the app logging.

181
00:11:01,350 --> 00:11:08,760
There is all models that is our models and from the models and want to input our class as a user profile.

182
00:11:08,760 --> 00:11:09,060
Right.

183
00:11:09,390 --> 00:11:13,110
So that is our app logging and that is from our models on the ground.

184
00:11:13,110 --> 00:11:15,540
Important that we see our input this class.

185
00:11:15,540 --> 00:11:18,680
So I import it so now we can actually use it.

186
00:11:18,690 --> 00:11:26,100
So here this user profile here, I would want to use our this profile and this profile will be what

187
00:11:26,430 --> 00:11:27,780
this profile will be here.

188
00:11:27,780 --> 00:11:30,780
I have already created one of the user, so that is our user.

189
00:11:30,780 --> 00:11:31,050
Right.

190
00:11:31,050 --> 00:11:39,310
So this user, this user will be equal to our model in the model area I have already created under another

191
00:11:39,660 --> 00:11:41,730
relation with our user class.

192
00:11:41,730 --> 00:11:44,400
And I take that out all the time with this variable.

193
00:11:44,400 --> 00:11:44,700
Right.

194
00:11:44,970 --> 00:11:47,280
So this will be matched with our this user.

195
00:11:47,940 --> 00:11:51,450
So it will be matched without this user winners will be match after that.

196
00:11:51,450 --> 00:11:53,100
I want to do I want to save it.

197
00:11:53,100 --> 00:11:59,520
That means after that here, I want to do with our user profile, with this user profile.

198
00:11:59,520 --> 00:12:00,750
I want to do all the save this.

199
00:12:00,750 --> 00:12:04,830
Our profile data or Kevin I hope is very much clear to you.

200
00:12:04,830 --> 00:12:10,720
That means in any user will be created that we saw between our register will be as a true and also at

201
00:12:10,720 --> 00:12:12,360
the time our use will be created.

202
00:12:12,360 --> 00:12:19,500
And this user profile, I have already created that relation with our this user, so with our user model.

203
00:12:19,650 --> 00:12:22,200
So with this user I have already connected.

204
00:12:22,210 --> 00:12:28,800
You can see we know what the user and our user that is already user will be met, then it will be save

205
00:12:28,830 --> 00:12:35,790
this profile, OK, and after that save here, I want to do and return it that with a return and with

206
00:12:35,790 --> 00:12:41,730
the stop, with the stupid response to that I want to do in the past with the reverse and the reverse

207
00:12:41,730 --> 00:12:43,890
area, it should be rejected.

208
00:12:43,890 --> 00:12:51,600
Some of the specific space, OK, like kids will be rejected to be subjected to a logging base.

209
00:12:51,600 --> 00:12:53,910
So this is the logging page on the rejected side.

210
00:12:53,910 --> 00:12:56,240
Didn't create any logging base.

211
00:12:56,250 --> 00:12:59,760
We have to create another another base for the logging that is general.

212
00:12:59,850 --> 00:13:02,940
And also we have to create one that you want to look so better.

213
00:13:02,940 --> 00:13:03,560
I name it.

214
00:13:03,570 --> 00:13:04,140
I name it.

215
00:13:04,140 --> 00:13:10,200
That means in our app logging into the app logging, you are already out with our app logging here on

216
00:13:10,200 --> 00:13:11,730
to create only wall path.

217
00:13:12,330 --> 00:13:14,910
That means it will be as a, you know, app logging.

218
00:13:14,910 --> 00:13:18,060
It should be to one of the logging, I name it as a logging.

219
00:13:18,060 --> 00:13:19,890
So now we have to do we have to create it.

220
00:13:19,890 --> 00:13:25,530
That means first of all, we have to create one of the base for our logging and then we have to create

221
00:13:25,530 --> 00:13:25,830
one of the.

222
00:13:25,830 --> 00:13:26,520
You are right.

223
00:13:27,030 --> 00:13:32,940
So that means in our app, logging on to do and you create on the base and I just name it as a logging

224
00:13:33,540 --> 00:13:35,250
icon, logging dot ASML.

225
00:13:35,250 --> 00:13:37,000
So that will be our logging dollars.

226
00:13:37,020 --> 00:13:41,820
Tamalpais and for accessing this logging Nortel's Tamalpais in our view area, we have to create the

227
00:13:41,880 --> 00:13:42,360
function.

228
00:13:42,360 --> 00:13:42,660
Right.

229
00:13:43,560 --> 00:13:46,210
So now to do and to do that work here.

230
00:13:46,210 --> 00:13:51,180
I create all of the function as a Dave and then I name it as a logging underscore for.

231
00:13:51,280 --> 00:13:51,780
Base.

232
00:13:52,020 --> 00:13:57,760
OK, that would be as a logging base and here also we have to parse that our request and then we have

233
00:13:57,760 --> 00:14:00,040
to do we have to load our form right.

234
00:14:00,190 --> 00:14:01,420
And or the form area.

235
00:14:01,420 --> 00:14:05,260
I want to use our another class as an authentication form.

236
00:14:05,260 --> 00:14:11,080
Plus, in our previous block project, I have already discussed about the things we do with these authentication

237
00:14:11,080 --> 00:14:13,300
from we'll get our two of this field.

238
00:14:13,310 --> 00:14:15,780
One will be as a username and password.

239
00:14:15,790 --> 00:14:16,070
Right.

240
00:14:16,420 --> 00:14:19,370
So first of all, if you want to use it, we have to do have to load it.

241
00:14:19,390 --> 00:14:20,350
That means here.

242
00:14:20,630 --> 00:14:23,840
So that is in order from that Django.

243
00:14:24,400 --> 00:14:26,350
So, friend, I hope you can understand.

244
00:14:26,350 --> 00:14:33,070
Everybody could see how much reality everything that these are from country and that they are old and

245
00:14:33,070 --> 00:14:37,870
then the forms and sorry then the Fromm's OK, then the forms.

246
00:14:37,870 --> 00:14:43,990
And from here I want to do an input on the input or one of the another class as the authentication form.

247
00:14:43,990 --> 00:14:44,300
Right.

248
00:14:44,320 --> 00:14:54,130
Remember, if you go to documentation and the documentation to have all of that class, I show you that

249
00:14:54,130 --> 00:14:56,190
I have another class as this one you can see.

250
00:14:56,190 --> 00:15:02,190
And there is authentication from that with the authentication from actually for the logging user in.

251
00:15:02,560 --> 00:15:04,950
So with this, I want to logging.

252
00:15:04,960 --> 00:15:07,440
So for now, that is Oxlade, the following of the class.

253
00:15:07,450 --> 00:15:09,790
And I want to do I want to import our class.

254
00:15:09,790 --> 00:15:10,180
Right.

255
00:15:10,450 --> 00:15:13,080
And also this will be needed as a logging vehicle.

256
00:15:13,480 --> 00:15:15,500
So if you want to use that logging detour.

257
00:15:15,520 --> 00:15:17,170
So that is in our form.

258
00:15:17,320 --> 00:15:18,770
That is in our Django.

259
00:15:19,060 --> 00:15:24,550
I have already discussed about a lot of the time that is in our country and then in our art and in the

260
00:15:24,550 --> 00:15:26,640
decorator's right.

261
00:15:26,690 --> 00:15:32,130
That means the decorator's right from the decorator's.

262
00:15:32,140 --> 00:15:34,690
You have to import our logging record.

263
00:15:35,260 --> 00:15:40,700
That means a logging underscore and the required logging we get.

264
00:15:40,720 --> 00:15:41,140
Right.

265
00:15:41,300 --> 00:15:43,080
So now we have to do we have to access it.

266
00:15:43,090 --> 00:15:45,250
That means our authentication form, I hope.

267
00:15:45,250 --> 00:15:48,610
Friend in blogsite we did the same work.

268
00:15:48,610 --> 00:15:48,940
Right.

269
00:15:48,940 --> 00:15:54,460
We have to now do that things again, like there is a form and here I may meet our authentication from

270
00:15:54,460 --> 00:15:58,720
that miserable condition, from classi loaded software that what exactly you have to do.

271
00:15:58,720 --> 00:16:00,570
We have to put that conditions right.

272
00:16:00,580 --> 00:16:05,230
That means that if and then with the request and then it should be checked, that mattered.

273
00:16:05,440 --> 00:16:05,850
Right.

274
00:16:06,250 --> 00:16:11,200
So with this method, we have to do we have to check it, as I told you before, friend, that with

275
00:16:11,200 --> 00:16:16,300
this authentication from class we get to of this field, one will be as a user name and there will be

276
00:16:16,300 --> 00:16:17,100
as a password.

277
00:16:17,470 --> 00:16:20,050
So now I want to do want to add this for me now.

278
00:16:20,050 --> 00:16:24,040
Are these logging rights into the logging area if you want to load that form?

279
00:16:24,250 --> 00:16:26,290
So first of all, I have to do I have to check it.

280
00:16:26,560 --> 00:16:30,940
That means that the poster get to first of all, I take it with the post.

281
00:16:30,940 --> 00:16:31,330
Right.

282
00:16:31,540 --> 00:16:35,980
And then undo and add that our form that means our D form.

283
00:16:36,310 --> 00:16:40,780
And now here this will be the same as before.

284
00:16:40,780 --> 00:16:43,570
So that will be our authentication from here we are here.

285
00:16:43,570 --> 00:16:45,160
We have to pass that our request.

286
00:16:45,820 --> 00:16:48,160
That means our request will be as a post.

287
00:16:48,160 --> 00:16:48,430
Right.

288
00:16:49,000 --> 00:16:50,080
So that will be the post.

289
00:16:50,080 --> 00:16:54,790
And also here, I want to learn to take the things we do, not the variable, I take it, as a data

290
00:16:54,790 --> 00:16:56,790
variable that is already requested.

291
00:16:56,830 --> 00:17:01,720
This data, I want to save it, in particular this variable area that is our data.

292
00:17:01,900 --> 00:17:03,550
And after that, what exactly we have to do.

293
00:17:03,550 --> 00:17:12,490
We have to put that validation right that we the if sorry, if our form that if this form is valid is

294
00:17:12,490 --> 00:17:13,510
underscore valid.

295
00:17:13,520 --> 00:17:15,900
So first of all, we have to do we have to check it.

296
00:17:16,300 --> 00:17:17,860
So here we have to check.

297
00:17:17,860 --> 00:17:18,160
Right.

298
00:17:18,400 --> 00:17:23,350
Then we have to check or we feel we have to check our username field and the password fields will be

299
00:17:23,350 --> 00:17:24,490
just like that same.

300
00:17:24,490 --> 00:17:27,700
I have already discussed about the things with your friend.

301
00:17:27,700 --> 00:17:30,250
I hope this concept is very much clear to you.

302
00:17:30,370 --> 00:17:37,620
So with this form, there is another function as a clean data clean underscore data.

303
00:17:37,630 --> 00:17:41,470
So with this function, I want to get our wish field.

304
00:17:41,470 --> 00:17:44,110
I want to get our database field as a username.

305
00:17:44,620 --> 00:17:46,200
So still be as a username.

306
00:17:46,210 --> 00:17:46,570
Right.

307
00:17:46,840 --> 00:17:50,320
And also on the do to take another one as a password.

308
00:17:51,100 --> 00:17:56,980
So that will be as a password and then it will be with our disinform.

309
00:17:57,490 --> 00:18:05,800
So without this form, I want to do I want to use our same as a cleaned so that the clean data and then

310
00:18:05,800 --> 00:18:07,270
the gaped sorry.

311
00:18:07,270 --> 00:18:10,570
And then the get our field, our field as a password.

312
00:18:11,350 --> 00:18:13,000
So be as a password.

313
00:18:13,000 --> 00:18:13,360
Right.

314
00:18:13,570 --> 00:18:15,340
And after that we have to do have to match it.

315
00:18:15,340 --> 00:18:23,230
So take one of the variable of the user and then with our I have already loaded that is our authenticate.

316
00:18:23,230 --> 00:18:23,650
Right.

317
00:18:23,650 --> 00:18:25,570
That is a considered authenticate.

318
00:18:25,840 --> 00:18:29,980
So friend, if you actually practice, everything will be more clear to you.

319
00:18:29,980 --> 00:18:33,640
You can see the same procedure we just applied on here again.

320
00:18:33,910 --> 00:18:37,720
So this user with this authenticated, shall we take our two of this field?

321
00:18:37,900 --> 00:18:44,500
Our user name is appropriate user name or not, that user name should be equal to our user name and

322
00:18:44,500 --> 00:18:45,940
same as password.

323
00:18:46,660 --> 00:18:50,560
Password feel will be matched with our password database.

324
00:18:51,190 --> 00:18:57,820
All right, so initially match, that means four initially match a name put on the condition if yuzu,

325
00:18:58,360 --> 00:19:01,590
I take that things with our D variable as it user, right.

326
00:19:01,630 --> 00:19:03,240
That is our variable as a user.

327
00:19:03,250 --> 00:19:14,140
So if this user is not now is not is not none, OK, that if they have any user then I want to pass

328
00:19:14,140 --> 00:19:15,100
it without locking.

329
00:19:15,290 --> 00:19:22,820
That means without locking methode here and pass that request our this user that Mizuki's that user.

330
00:19:22,840 --> 00:19:26,770
I want to do deposit Seafield to access that login.

331
00:19:26,950 --> 00:19:32,410
You can see I have already loaded because I have already loaded our locking and the logout out.

332
00:19:32,410 --> 00:19:38,740
So right now I'm using our this logging perfect and after that I want to do simple.

333
00:19:38,740 --> 00:19:46,070
After that shall be returned and then SCDP with our EDP response to direct here and return to us with

334
00:19:46,090 --> 00:19:49,090
the reverse here and pass out the specific base.

335
00:19:49,190 --> 00:19:51,130
OK, so I didn't get any space.

336
00:19:51,490 --> 00:19:56,890
So when created the needs to be addicted to like as a profile page or something, another space, because

337
00:19:56,890 --> 00:19:59,100
I feel like we didn't create any home base actually.

338
00:19:59,500 --> 00:20:01,330
So right now I make the things as empty.

339
00:20:01,460 --> 00:20:05,640
OK, and then here it will be as a return post here.

340
00:20:05,650 --> 00:20:08,740
Also we have to do we have to load our this locking this table.

341
00:20:08,740 --> 00:20:13,020
Right, because in locking to stimulate area we have to pass out this form.

342
00:20:13,570 --> 00:20:21,370
OK, so no one to do and returned with the render, with the refund and you can see how much easier

343
00:20:21,370 --> 00:20:21,730
it is.

344
00:20:21,730 --> 00:20:26,920
So if you actually know that basic concept, you should be very easy to you.

345
00:20:26,920 --> 00:20:30,070
And the render actually pass to this parameter.

346
00:20:30,070 --> 00:20:32,230
One is the request and the location.

347
00:20:32,680 --> 00:20:38,050
So that is in our app logging into the app logging I have created on the page as a logging dot XHTML

348
00:20:38,380 --> 00:20:41,430
and then also have to pass some of the data in our dictionary area.

349
00:20:41,440 --> 00:20:47,740
So I pass that context and into the context dictionary here is in the past the same as the title.

350
00:20:47,740 --> 00:20:56,830
You can send it, I name it on the key as a title and it will be as a name it as a logging logging base.

351
00:20:57,430 --> 00:20:58,810
So it will be as a logging page.

352
00:20:58,810 --> 00:21:02,500
And also after that I want to do and pass out this form.

353
00:21:02,780 --> 00:21:08,830
And that means that the chloroform I want to do and the parts that form right down the path that form

354
00:21:09,250 --> 00:21:12,640
in our displays that we are logging, that is Tamalpais.

355
00:21:12,670 --> 00:21:15,120
OK, friend, I hope is very much clear to you.

356
00:21:15,130 --> 00:21:17,410
So now we have to do we have to work in our logging.

357
00:21:17,770 --> 00:21:22,330
So if you want to access that logging, I have already declared one of them logging.

358
00:21:22,330 --> 00:21:22,560
Right.

359
00:21:22,960 --> 00:21:26,470
Which will be our you are so you taxes that you are logging pays.

360
00:21:26,470 --> 00:21:27,910
We have to play around the world.

361
00:21:28,360 --> 00:21:32,680
That means in our app logging into the app logging, I would want to create another world.

362
00:21:34,070 --> 00:21:36,220
But I hear you have to add that comma.

363
00:21:36,850 --> 00:21:37,210
Right.

364
00:21:37,420 --> 00:21:39,370
And then you know, I name it.

365
00:21:39,370 --> 00:21:44,980
Our part will be as a logging OK will be the logging in our view area.

366
00:21:44,980 --> 00:21:49,840
I have created the function, our function name for the logging as a logging base.

367
00:21:50,470 --> 00:21:52,600
I name it as logging base.

368
00:21:52,600 --> 00:21:56,830
And I also put that our name partner in will be because of all here.

369
00:21:56,830 --> 00:21:59,980
I have already used that logging, so if you want to change it, you can change it.

370
00:22:00,310 --> 00:22:01,750
So that will be our part, right.

371
00:22:02,170 --> 00:22:04,960
That means here I name it as they are logging.

372
00:22:05,380 --> 00:22:10,570
So when any user will be happy to sign up automatically, it will be created that user.

373
00:22:10,570 --> 00:22:12,640
And also after that it should be created.

374
00:22:12,640 --> 00:22:14,170
This user, one of the profile.

375
00:22:14,260 --> 00:22:14,610
Right.

376
00:22:14,620 --> 00:22:16,810
And after that, it should be addicted to our list.

377
00:22:16,810 --> 00:22:17,560
Logging pays.

378
00:22:17,890 --> 00:22:20,980
And then I have created another one as a logging soondae.

379
00:22:20,980 --> 00:22:22,620
The logging area should be put.

380
00:22:22,990 --> 00:22:25,660
It should be check out with our authentication form.

381
00:22:25,720 --> 00:22:29,360
Our authentication form will be loaded and without indication for media.

382
00:22:29,380 --> 00:22:36,850
I have already authenticate with this authenticated to match our what are the data I pass for this authentication

383
00:22:36,850 --> 00:22:42,190
form that have the tuffield one is that user feel and the password Feleti should be checking that the

384
00:22:42,190 --> 00:22:43,540
user is the appropriate user.

385
00:22:43,540 --> 00:22:45,880
It does not and password is appropriate.

386
00:22:45,880 --> 00:22:46,990
Password are not.

387
00:22:47,260 --> 00:22:48,220
So shall we check it.

388
00:22:48,220 --> 00:22:52,240
That means our database tableful it should we check and then it should be done.

389
00:22:52,240 --> 00:22:58,420
Redirects to a specific sound the pace and then without pretending they're here, load our disk locking

390
00:22:58,420 --> 00:22:59,100
that is HTML.

391
00:22:59,530 --> 00:23:01,180
So now we have to do we have to work.

392
00:23:01,210 --> 00:23:04,590
That means we have to load our form in our logging logging e-mail.

393
00:23:04,710 --> 00:23:05,470
That means here.

394
00:23:05,590 --> 00:23:05,950
Right.

395
00:23:06,340 --> 00:23:09,250
So I want to do, I think the save all.

396
00:23:09,250 --> 00:23:13,570
I want to continue this process in our next video we load our form in our logging.

397
00:23:13,570 --> 00:23:14,620
That is Tamalpais.

398
00:23:14,950 --> 00:23:16,570
So thanks for watching.

399
00:23:16,570 --> 00:23:18,550
I will see you in the next video.
