1
00:00:00,150 --> 00:00:01,730
Hello, friend, welcome back.

2
00:00:01,780 --> 00:00:09,060
You know, previous video I have created, one of the function as father sign up and also I did find

3
00:00:09,060 --> 00:00:16,770
that our window washer sign up will be PAFA successfully and added then it's should be to our this response

4
00:00:16,770 --> 00:00:20,130
redirect to the logging pasto here and try to the defend that logging pays.

5
00:00:20,130 --> 00:00:22,680
But I didn't create any function for the logging.

6
00:00:22,680 --> 00:00:22,980
Right.

7
00:00:23,290 --> 00:00:25,880
So no one to turn to create one of the functions for the logging.

8
00:00:26,250 --> 00:00:27,820
So I just simply defended the day.

9
00:00:27,870 --> 00:00:31,410
And here we have to define our function name.

10
00:00:31,410 --> 00:00:38,040
I just name it as a logging like logging user and then we have to pass that request will be just like

11
00:00:38,040 --> 00:00:38,990
the same before.

12
00:00:39,000 --> 00:00:44,510
I think if you already remember it, if you already packed it, then you can know about it.

13
00:00:45,000 --> 00:00:46,230
So into the form.

14
00:00:46,230 --> 00:00:50,280
See the formula right now down to access our dis authentication form.

15
00:00:50,490 --> 00:00:50,820
Right.

16
00:00:50,820 --> 00:00:52,040
That is our building class.

17
00:00:52,620 --> 00:00:54,210
So now I have to do and access it.

18
00:00:54,210 --> 00:00:59,640
First of all, it will be right of the object and then our same condition.

19
00:00:59,640 --> 00:01:02,810
That is if our request and then the method.

20
00:01:03,600 --> 00:01:10,200
So there is a method when this will be curlicue all our post because in our locking also we have to

21
00:01:10,200 --> 00:01:11,130
load on the form.

22
00:01:11,130 --> 00:01:11,390
Right.

23
00:01:11,850 --> 00:01:14,610
So it will be as opposed then our form.

24
00:01:16,860 --> 00:01:23,880
So our form with this sort of indicate that our authenticate form here we have to do we have to pass

25
00:01:23,880 --> 00:01:25,590
our request data.

26
00:01:25,640 --> 00:01:30,960
So here we have to pass the request and then our post our poll data.

27
00:01:31,260 --> 00:01:34,040
But here also we have to do we have to authenticate it.

28
00:01:34,040 --> 00:01:34,290
Right.

29
00:01:34,290 --> 00:01:34,560
Right.

30
00:01:34,560 --> 00:01:39,580
So before we authenticate, I want to undertake our distinguished data with one of the variables.

31
00:01:39,580 --> 00:01:44,820
So here I defined that variable as a data sorry data center, the data variable.

32
00:01:44,820 --> 00:01:45,880
I want to save this data.

33
00:01:45,900 --> 00:01:46,240
OK.

34
00:01:46,740 --> 00:01:47,610
And after that?

35
00:01:47,610 --> 00:01:57,780
After that, we have to do we have to define our condition as if our this form is is valid, is valid

36
00:01:57,870 --> 00:01:58,290
or not.

37
00:01:58,360 --> 00:01:59,590
Here we have to check it.

38
00:02:00,100 --> 00:02:01,330
If you have to check it out.

39
00:02:01,350 --> 00:02:05,150
We have already found our default, our all that field as a user name.

40
00:02:06,060 --> 00:02:15,940
That means our user name when this will be our phone clear data with our form then being data gleaned

41
00:02:15,960 --> 00:02:25,960
underscored data, OK, and then the gate will be as our user name and also for the password we have

42
00:02:25,960 --> 00:02:27,140
to define the same things.

43
00:02:28,350 --> 00:02:29,610
So sorry.

44
00:02:31,080 --> 00:02:36,310
So also for the password will be our form and then the clean data.

45
00:02:37,800 --> 00:02:42,570
So there is a clean data and then get our full name.

46
00:02:42,580 --> 00:02:46,820
So that is our password and after that we have to check it.

47
00:02:46,830 --> 00:02:49,590
After that we have to check that out with our authenticate.

48
00:02:49,590 --> 00:02:53,620
That means this is our username and password is authenticated or not.

49
00:02:53,970 --> 00:02:56,640
So this user, I define our class.

50
00:02:56,640 --> 00:02:59,780
Another one of the authentic GIFs, I have already loaded it.

51
00:02:59,820 --> 00:03:01,440
That means I have already imported.

52
00:03:01,650 --> 00:03:02,850
Those are all indicate.

53
00:03:02,850 --> 00:03:07,570
And with this authenticate, I have to define our username username.

54
00:03:07,590 --> 00:03:13,830
It will be equal to our user name and also same as password will be equal.

55
00:03:13,830 --> 00:03:14,760
Our password.

56
00:03:15,060 --> 00:03:15,440
Right.

57
00:03:15,540 --> 00:03:17,560
So here, which will be authenticated.

58
00:03:17,700 --> 00:03:24,200
And after that, if not so here, I defined as the eve user that MRW if not, is not authenticate.

59
00:03:24,570 --> 00:03:36,290
So if this user is non is not non ok, so it is not known, then it should be defined that our logging's

60
00:03:36,300 --> 00:03:37,980
without locking glass here.

61
00:03:38,010 --> 00:03:39,710
I don't want to define that request.

62
00:03:40,050 --> 00:03:41,070
You guessed it user.

63
00:03:42,680 --> 00:03:49,470
I say should we pass to particular that area and then it shall be sure of the return and the return

64
00:03:49,830 --> 00:03:57,030
to the past that is retrieved EDP as sponsor with the sponsors to be sure on steak's as a locked in

65
00:03:58,680 --> 00:04:00,600
OK, locked in so they step up.

66
00:04:00,900 --> 00:04:08,670
Messages should be displayed and also here and don't return return our locking place because here we

67
00:04:08,670 --> 00:04:10,830
have two also displayed.

68
00:04:10,830 --> 00:04:16,200
So here I defend the return render and with this sender we have to pass that request.

69
00:04:16,200 --> 00:04:22,770
And then you know, our app logging into the app logging, you have to pass our logging base.

70
00:04:23,460 --> 00:04:30,200
So I name it as a logging protest, email, logging, that e-mail, print.

71
00:04:30,510 --> 00:04:33,150
And also we have to do have to pass our form.

72
00:04:33,160 --> 00:04:37,840
So without context, context, right.

73
00:04:37,920 --> 00:04:40,950
To this context here, we have to pass our form.

74
00:04:43,310 --> 00:04:49,820
OK, I have to pass that farm, I the assembly, pass it so I don't have to do we have to design our

75
00:04:49,820 --> 00:04:51,530
tour of this space as a sign up?

76
00:04:51,530 --> 00:04:52,850
And the logging is terrible.

77
00:04:52,850 --> 00:04:59,610
So I just to save all that is our business html souls, we have to add that business.

78
00:04:59,870 --> 00:05:00,980
We don't need this model.

79
00:05:00,980 --> 00:05:02,240
I just simply remove it.

80
00:05:02,240 --> 00:05:03,910
We don't need also this form.

81
00:05:04,310 --> 00:05:07,290
So now in our template that is our sign up to this Temel.

82
00:05:07,320 --> 00:05:08,910
So here what exactly you have to do.

83
00:05:08,910 --> 00:05:11,620
We have to first of all extend our this business.

84
00:05:11,630 --> 00:05:12,200
Jamul Right.

85
00:05:12,800 --> 00:05:14,470
So I think you already know about it.

86
00:05:14,480 --> 00:05:16,460
So now we have to define as the extend.

87
00:05:18,050 --> 00:05:20,840
OK, extend and it'll be extends our base.

88
00:05:21,710 --> 00:05:23,360
OK, base Dartez Tmall.

89
00:05:23,360 --> 00:05:31,250
So here I just simply defined this the amount and then also we have to load our case preformed because

90
00:05:31,250 --> 00:05:40,560
here I want to use it so that it all quispe that we the load and then Crispi underscore again.

91
00:05:40,640 --> 00:05:42,530
So that is forms and the tags.

92
00:05:43,700 --> 00:05:49,370
So the result Quispe from tax and then we have to add our title block.

93
00:05:49,390 --> 00:06:00,920
So I just simply defined as a block block will be our title title underscore sorry title underscore

94
00:06:00,920 --> 00:06:03,860
block ok title block.

95
00:06:03,860 --> 00:06:06,290
And then also we have to do we have to end it.

96
00:06:07,070 --> 00:06:17,180
So here after this I just simply and block and here shall be sure some of the text and create new account.

97
00:06:18,230 --> 00:06:26,270
Create new account so we step up on the title will be visible and then our body block.

98
00:06:26,270 --> 00:06:29,930
So here and we do find our body block.

99
00:06:30,200 --> 00:06:31,370
That means the block.

100
00:06:32,510 --> 00:06:37,010
So our block will be as a body underscore block.

101
00:06:38,360 --> 00:06:40,760
And also we have to do we have to finish it.

102
00:06:41,690 --> 00:06:45,110
So here I just simply give and block perfect.

103
00:06:45,500 --> 00:06:54,140
And now I want to take what is to the back, and it should be as a create new account because of this

104
00:06:54,170 --> 00:06:55,850
type of the extra tag.

105
00:06:56,150 --> 00:06:58,040
And here I want to define our form.

106
00:06:59,330 --> 00:07:04,550
So no friend, I think it should be very much clear to you because we did the same things a lot of the

107
00:07:04,550 --> 00:07:04,820
time.

108
00:07:04,820 --> 00:07:10,850
So that is from here we have to define our method and method will be as a post method under the post

109
00:07:10,850 --> 00:07:11,390
metro area.

110
00:07:11,390 --> 00:07:13,670
First of all, I want to added our form.

111
00:07:13,670 --> 00:07:15,740
So in particular that position.

112
00:07:15,860 --> 00:07:21,200
OK, here from our view, I have already passed in our sign up as a form.

113
00:07:21,920 --> 00:07:25,430
So no, I want to define our form and also here I define that Quispe.

114
00:07:25,450 --> 00:07:28,310
So that will be our piece before.

115
00:07:30,560 --> 00:07:35,660
OK, I just simply added that Quispe and then also we have to define our A token.

116
00:07:36,140 --> 00:07:40,550
So I just really wanted to see SRF underscore tokin.

117
00:07:41,630 --> 00:07:43,520
OK, and then our bottom.

118
00:07:46,150 --> 00:07:53,280
Sorry, you double team or Barton will be at the summit and here we don't need any name here.

119
00:07:53,310 --> 00:08:02,520
I want to do under the front of the class for this bottom and the class class class will be as a battle

120
00:08:03,680 --> 00:08:13,120
between beauty and success and then between s.m and our bartone will be as a create account, create

121
00:08:13,120 --> 00:08:13,630
account.

122
00:08:14,630 --> 00:08:17,010
OK, so they step up, one of the button will be visible.

123
00:08:17,380 --> 00:08:24,370
And after that, I also want to add one of the links for our locking so better at the front of the bracket

124
00:08:24,730 --> 00:08:32,050
and here I the front of the PAETEC and like you to be sure, they already have an account.

125
00:08:33,760 --> 00:08:35,260
OK, I already have an account.

126
00:08:35,260 --> 00:08:36,370
There is a question mark.

127
00:08:36,370 --> 00:08:40,550
And here on the final note here, riffling it shall be as a log in here.

128
00:08:42,790 --> 00:08:43,670
OK, here.

129
00:08:43,690 --> 00:08:45,730
So we display this type of on the link.

130
00:08:46,060 --> 00:08:48,610
So now I want to do also want to add another wall.

131
00:08:48,610 --> 00:08:51,490
I want that wall for about login.

132
00:08:52,120 --> 00:08:54,180
So, you know, are you still here?

133
00:08:54,190 --> 00:08:56,930
I want to take another one is to be as a login.

134
00:08:57,700 --> 00:09:04,810
OK, locking in our view, I have already created one of the function that we are logging user.

135
00:09:04,880 --> 00:09:11,840
So now I just simply defined that our function will be as a logging user and I just name it as a logging.

136
00:09:11,860 --> 00:09:14,730
So now if you want to access it, you can access it with our app name.

137
00:09:15,370 --> 00:09:18,760
So here I don't want to defining it.

138
00:09:18,880 --> 00:09:27,820
So that is in our water rights into the are our app name app logging and the app logging.

139
00:09:28,300 --> 00:09:29,410
I have defined it.

140
00:09:29,410 --> 00:09:33,790
So we are logging that we see with our app, logging with our logging.

141
00:09:33,820 --> 00:09:34,240
Right.

142
00:09:34,690 --> 00:09:36,400
So I just simply defined that logging.

143
00:09:36,640 --> 00:09:39,100
So here I have already created our part.

144
00:09:39,100 --> 00:09:44,860
That is a logging parts and I want to do and define that things in our sign up go to our view into the

145
00:09:44,860 --> 00:09:49,480
sign up area when you sign up will be successfully done, then it will be done.

146
00:09:49,500 --> 00:09:52,180
Redirect to our response, inadequate our response.

147
00:09:52,180 --> 00:09:56,890
So here to do and pass it to our app, logging and the logging base.

148
00:09:56,940 --> 00:10:02,350
OK, so when successfully you sign up then it'll be up to you, to the logging base.

149
00:10:02,980 --> 00:10:08,650
And also here we need our log out, but I don't want to create another function.

150
00:10:08,650 --> 00:10:16,970
So it will be as a Dave and I want to create as a log out the user log out under this call user type

151
00:10:16,990 --> 00:10:17,170
thing.

152
00:10:17,170 --> 00:10:19,900
You already know about it what exactly you have to do.

153
00:10:20,680 --> 00:10:21,610
That is a request.

154
00:10:21,610 --> 00:10:27,220
And also, if you want to access this log out user, that means a log out, then you have to make that

155
00:10:27,220 --> 00:10:28,540
user as required.

156
00:10:28,540 --> 00:10:28,710
So.

157
00:10:28,720 --> 00:10:29,000
Right.

158
00:10:29,010 --> 00:10:33,250
So here I have already added.

159
00:10:33,250 --> 00:10:37,750
You can see I already added that logging request from our decorator's.

160
00:10:38,110 --> 00:10:45,280
So for now, after this here, I just simply defined as a logging record.

161
00:10:45,490 --> 00:10:48,060
And then there is our function as a logout user.

162
00:10:48,370 --> 00:10:50,290
So for the log out, it's pretty much simple.

163
00:10:50,500 --> 00:10:53,160
You have to define all of the building classed as a log out.

164
00:10:53,650 --> 00:10:57,040
So I just simply use that log out and then our request.

165
00:10:57,040 --> 00:11:00,480
I just simply pass it and then it will be returned.

166
00:11:01,130 --> 00:11:07,780
We've done with our EDP response to response here and to show some of the message, I should be sure,

167
00:11:07,780 --> 00:11:08,650
as a locked out.

168
00:11:09,850 --> 00:11:14,730
OK, so logged out, sorry, locked out.

169
00:11:15,700 --> 00:11:17,410
So this step up on the logged out.

170
00:11:17,620 --> 00:11:20,710
So for the logged out, I also want to do want to create another.

171
00:11:20,740 --> 00:11:27,430
You all go to our Warrell here and we to define another one.

172
00:11:27,430 --> 00:11:29,020
It should be as a locked out.

173
00:11:30,340 --> 00:11:32,380
OK, logged out in your view.

174
00:11:32,380 --> 00:11:37,510
I have created out this glass so that they are logged out user.

175
00:11:38,320 --> 00:11:42,180
So I just simply defended the logged out there and I just name it as a log out.

176
00:11:42,490 --> 00:11:45,070
So here we successfully created our sign apart.

177
00:11:45,070 --> 00:11:47,680
So now I also want to design our log time.

178
00:11:47,680 --> 00:11:48,840
So that is a logging.

179
00:11:48,880 --> 00:11:50,500
So be just like that same.

180
00:11:51,220 --> 00:11:56,230
So I just personally copy everything from our sign up and I just simply posted in our logging.

181
00:11:56,560 --> 00:11:59,200
So this will be extended our best e-mail.

182
00:11:59,200 --> 00:12:04,060
Also, we need that Quispe form tags and that is our title.

183
00:12:04,120 --> 00:12:10,540
So here it will be displayed as a logged in and then our body blog and then our create.

184
00:12:10,540 --> 00:12:19,330
So here I want to do all the fun of the logging user, logging user and then our form.

185
00:12:19,330 --> 00:12:24,640
So also if you go to our view so far, our logging user, I suppose as a form.

186
00:12:24,640 --> 00:12:24,970
Right.

187
00:12:25,420 --> 00:12:27,760
So now we can use it so that we are formed.

188
00:12:27,760 --> 00:12:34,630
Crispi the resources button that you use took and that is the type will be button that will be submitted.

189
00:12:35,200 --> 00:12:36,250
Everything is great.

190
00:12:36,250 --> 00:12:42,870
So now here I define not to create account which will be as a in OK, so I just simply defined as a

191
00:12:42,870 --> 00:12:45,160
log in and here.

192
00:12:45,810 --> 00:12:54,540
I just want to change the debate, so here I defended it, does OK and does not so does not.

193
00:12:54,540 --> 00:13:01,440
So does not or does not have an account, then it should be Dakotah, which, you know, blogging itself

194
00:13:01,440 --> 00:13:04,560
will dictate to our sign up so that it will sign up name.

195
00:13:04,560 --> 00:13:10,500
I have defined its ability to sign up and here it shall be sure to create account.

196
00:13:12,810 --> 00:13:14,700
OK, so I'll be sure to create account.

197
00:13:14,820 --> 00:13:15,380
Perfect.

198
00:13:15,540 --> 00:13:16,780
So now let's check this out.

199
00:13:16,800 --> 00:13:20,550
Now if you click the save all the save all.

200
00:13:21,670 --> 00:13:29,300
So there those survivors are already starting well, and now if you want to access our site, so here

201
00:13:29,410 --> 00:13:31,410
will be our this you are real.

202
00:13:31,780 --> 00:13:37,330
And then also they just sign up that we'll see what else here.

203
00:13:37,330 --> 00:13:38,230
That is our sign up.

204
00:13:38,230 --> 00:13:43,630
I want to access if you want to access that site now, first of all, you have to do have to add our

205
00:13:44,560 --> 00:13:45,350
accounts.

206
00:13:45,850 --> 00:13:51,040
Let me see in our here into the settings already into the wall here to help define that account.

207
00:13:51,040 --> 00:13:53,940
Right after that account, we have to define that sign up.

208
00:13:53,940 --> 00:13:58,000
So I just simply define that count, OK, account.

209
00:13:58,000 --> 00:14:01,600
And then I want to do and define our sign up as I enter.

210
00:14:03,460 --> 00:14:11,400
Not going to snow perfectly display our sign up base and also from Texas are locking, so there is a

211
00:14:11,400 --> 00:14:12,750
lock in click enter.

212
00:14:12,910 --> 00:14:13,790
Yeah, perfect.

213
00:14:13,830 --> 00:14:18,060
You can see the email address and the if you are also find that link.

214
00:14:18,510 --> 00:14:20,010
So that is are logging here.

215
00:14:20,020 --> 00:14:25,050
There is a logging here, create account perfectly clear to the ground software and we successfully

216
00:14:25,050 --> 00:14:25,950
complete our form.

217
00:14:25,950 --> 00:14:27,960
That is our sign up and the logging form.

218
00:14:27,990 --> 00:14:33,200
So now we have to do we have to logging, we have to create the sign up base for the user.

219
00:14:33,210 --> 00:14:35,210
So step by step will go more deep.

220
00:14:35,220 --> 00:14:37,770
And I hope you will like it very much so.

221
00:14:37,800 --> 00:14:40,350
Thanks for watching and I will see you in the next video.
