1
00:00:00,330 --> 00:00:01,830
Hello, friend, welcome back.

2
00:00:02,190 --> 00:00:07,950
In a previous video, we successfully complete our logging portion and also here I have a discussion

3
00:00:07,950 --> 00:00:09,030
about that, things with you.

4
00:00:09,030 --> 00:00:13,820
How can update your all that you are dealt with, the steep response to and here, friend, here you

5
00:00:13,820 --> 00:00:20,670
can see I have also defined on the condition that we saw in our money user want to access our user logging

6
00:00:20,670 --> 00:00:21,050
pod.

7
00:00:21,450 --> 00:00:27,690
So here if you want to access this pod like that is actually our logging, you are else should be just

8
00:00:27,690 --> 00:00:33,090
as a logging, not this type of one of the URL I don't want to display for this user.

9
00:00:33,090 --> 00:00:33,390
Right.

10
00:00:33,660 --> 00:00:36,990
So you snowshoeing as a user logging because of all here.

11
00:00:36,990 --> 00:00:38,730
You can see into the view area.

12
00:00:38,730 --> 00:00:44,450
I just find the same things as a return renderer request and the logging app and the logging estimator.

13
00:00:44,460 --> 00:00:49,040
So for the reasons this user actually now can actually access directly our spot.

14
00:00:49,320 --> 00:00:51,180
So here I don't want to display it.

15
00:00:51,180 --> 00:00:54,210
I want to display it should be displayed only that logging.

16
00:00:54,340 --> 00:00:54,600
Right.

17
00:00:54,810 --> 00:00:59,400
So now if you want to do that work only we have to we have to update our this part as same.

18
00:00:59,400 --> 00:01:03,420
We did four hours here the better to simply copy it.

19
00:01:03,550 --> 00:01:06,370
OK, so it should be rejected to our space.

20
00:01:06,900 --> 00:01:10,170
It should be redirected to our same index.

21
00:01:10,170 --> 00:01:11,300
That means the logging base.

22
00:01:11,300 --> 00:01:15,840
So I just simply defended the logging that was in our app name as a logging app here.

23
00:01:15,840 --> 00:01:19,260
I want to reject it or logging for the same condition.

24
00:01:19,470 --> 00:01:22,680
But here with this, I think you already know about it.

25
00:01:22,680 --> 00:01:24,480
How can prevent your inappropriate.

26
00:01:24,490 --> 00:01:25,080
You are right.

27
00:01:25,120 --> 00:01:30,400
So right now I don't want to use it, so I just simply make the things as if not better.

28
00:01:30,760 --> 00:01:34,530
OK, so I just put that note so it'll be a reference to you.

29
00:01:34,800 --> 00:01:37,110
So now I just simply defending it.

30
00:01:37,110 --> 00:01:42,510
So now that means when this user and user want to access directly this part, that means this function,

31
00:01:42,780 --> 00:01:47,040
then it should be rejected to our with this Seeta SCDP response to that.

32
00:01:47,070 --> 00:01:49,580
It will be directed to our locking up and the logging.

33
00:01:49,590 --> 00:01:49,910
Right.

34
00:01:50,310 --> 00:01:54,590
So if you go to our you are and with the logging, I have already defined that part.

35
00:01:54,750 --> 00:01:56,050
That will be as a logging.

36
00:01:56,520 --> 00:02:01,320
So now let's check this out if you're not going to disable and now just refresh it.

37
00:02:02,330 --> 00:02:08,270
And now if you want to access our D.C. water, that means here that you are lucky, you are not want

38
00:02:08,270 --> 00:02:15,000
to access it because enter now you can see now you cannot actually access it directly if somebody takes

39
00:02:15,030 --> 00:02:16,370
it to you, to the locking.

40
00:02:16,580 --> 00:02:17,050
Perfect.

41
00:02:17,100 --> 00:02:18,940
So that is actually the appropriate things.

42
00:02:18,950 --> 00:02:20,650
I hope you can well understand about it.

43
00:02:20,690 --> 00:02:25,640
So we successfully complete our logging part now onto our four logout.

44
00:02:25,670 --> 00:02:28,540
So for the logo down to create one of the another function.

45
00:02:29,110 --> 00:02:32,410
So if you want to working with this, log out after this.

46
00:02:32,540 --> 00:02:36,590
OK, so after this picture I wanted to create another function.

47
00:02:37,160 --> 00:02:43,990
So here I named that function as a dev and then user underscore sorry, underscore logout.

48
00:02:45,160 --> 00:02:47,630
I just named one of the function name as a logout.

49
00:02:47,930 --> 00:02:50,650
And also here we have to do we have to pass that request.

50
00:02:50,660 --> 00:02:57,440
So to simply pass that request and also to have the another authentication plus function I have already

51
00:02:57,550 --> 00:02:59,440
defined with this authenticate.

52
00:02:59,450 --> 00:03:02,390
You can see that is actually the login and also they have the log out.

53
00:03:02,540 --> 00:03:04,140
So I have already used this logging.

54
00:03:04,160 --> 00:03:06,650
So with this logging, I'm actually checked this user.

55
00:03:06,650 --> 00:03:07,020
Right.

56
00:03:07,040 --> 00:03:10,250
So now I want to do want to use our this function.

57
00:03:10,250 --> 00:03:12,900
That means the logout functions I just copied.

58
00:03:13,460 --> 00:03:15,820
And now here that is the request.

59
00:03:15,830 --> 00:03:16,130
Right.

60
00:03:16,520 --> 00:03:21,460
So now with this log out with this log function, I want to pass that request.

61
00:03:22,430 --> 00:03:28,790
So then that means this user will be log out and hold this user will be log down to down to redacted

62
00:03:28,790 --> 00:03:29,910
to the index base.

63
00:03:29,930 --> 00:03:35,510
So if you want to reject it, then I want to use our SCDP response again that we've done.

64
00:03:36,050 --> 00:03:39,380
So, as I told you, we always use actually the request.

65
00:03:39,560 --> 00:03:46,630
Then it's better as to the various points redact and then the reverse right into the reverse.

66
00:03:46,640 --> 00:03:52,630
I want to do and the pass, which pays down to pass our law index, pays into the index page.

67
00:03:52,640 --> 00:03:55,780
That is our app name and then our name as the index.

68
00:03:55,790 --> 00:03:56,050
Right.

69
00:03:56,600 --> 00:04:04,000
So now I just simply define our app name as a locking up and then I just simply define our index.

70
00:04:04,250 --> 00:04:05,750
So that is a clever name.

71
00:04:06,530 --> 00:04:13,370
So now when this system will lock out this user, when this user is already in, after that logged in,

72
00:04:13,370 --> 00:04:15,760
then our this logging portion will be activated.

73
00:04:15,770 --> 00:04:16,040
Right.

74
00:04:16,340 --> 00:04:20,960
So for the reasons here we have to do we have to actually defining each of what the reasons I have already

75
00:04:20,960 --> 00:04:22,340
added this function here.

76
00:04:22,340 --> 00:04:25,390
You can say I've already added that import as a logging record.

77
00:04:25,790 --> 00:04:29,810
That means with this we can actually define that the user is already locked in.

78
00:04:30,020 --> 00:04:32,180
OK, so with this function, we can defining it.

79
00:04:32,450 --> 00:04:35,060
So now I have to do I want to add these things.

80
00:04:35,570 --> 00:04:42,320
So here in particular, that area that the at the rate and then we have to pass out this function that

81
00:04:42,320 --> 00:04:43,040
is our locking.

82
00:04:43,460 --> 00:04:47,610
That means with this it will be gone from this user is already logged in.

83
00:04:47,630 --> 00:04:52,970
Then when the user will be locked in after that, our this function, this function will be activated.

84
00:04:53,000 --> 00:04:57,660
OK, so for the reasons with this, you can actually defining each side as simply defined as the logging

85
00:04:57,660 --> 00:04:58,220
required.

86
00:04:58,400 --> 00:05:00,110
That means these user is locked in.

87
00:05:00,530 --> 00:05:05,180
And now for our this lock out, for this log out, I have to do I have to create one of the wall for

88
00:05:05,180 --> 00:05:05,660
this one.

89
00:05:05,690 --> 00:05:06,950
So now what are you order?

90
00:05:07,640 --> 00:05:09,600
We have to define other parts of it.

91
00:05:09,620 --> 00:05:16,270
I just simply copied and here I just simply it so here I defined that part particularly as a log out.

92
00:05:17,330 --> 00:05:22,420
OK, part will be as a log old and with the view I have created one of the function, I have created

93
00:05:22,440 --> 00:05:30,020
another function as a user logout site to simply define our function name and I just name it as a log

94
00:05:30,020 --> 00:05:30,210
out.

95
00:05:30,500 --> 00:05:32,480
So now I want to do I want to add this.

96
00:05:32,480 --> 00:05:35,320
I want to add this, you know, amenorrhea that means here.

97
00:05:35,810 --> 00:05:40,660
So if you want to add this, then you have to do you have to go to your basic order.

98
00:05:40,670 --> 00:05:44,390
That is the best e-mail and here and take another menu.

99
00:05:45,350 --> 00:05:47,300
And I just name it as a log out.

100
00:05:50,920 --> 00:05:56,620
OK, I just name it as a logout and also I have created by what else I define, find that you are a

101
00:05:56,620 --> 00:05:58,030
name as a logo.

102
00:05:58,100 --> 00:06:01,420
So now I want to do and you define that with this app name.

103
00:06:01,420 --> 00:06:03,580
I have defined our name as a lockout.

104
00:06:03,660 --> 00:06:04,190
Perfect.

105
00:06:04,570 --> 00:06:05,720
So now let's check this out.

106
00:06:05,740 --> 00:06:11,510
Now, if you click the save all, I just get to save all and now go here and refresh it.

107
00:06:12,220 --> 00:06:14,590
So now go home, go to that.

108
00:06:14,590 --> 00:06:16,210
Are looking and hear.

109
00:06:16,210 --> 00:06:23,470
If you now click as a username as a Khasi, put the password on two, three, four or five Gleek as

110
00:06:23,470 --> 00:06:28,930
a logging now can see now we are successfully logged in and now if you click is a log out.

111
00:06:29,840 --> 00:06:31,370
So they have sent the message.

112
00:06:31,400 --> 00:06:34,310
I did not receive a match at logout.

113
00:06:34,340 --> 00:06:37,490
OK, so that is actually not defining.

114
00:06:38,790 --> 00:06:45,930
So I have something wrong, you know, a thirty five line here, you can see I define as a class, so

115
00:06:46,350 --> 00:06:48,460
yeah, it should be as a clone.

116
00:06:49,140 --> 00:06:53,730
That means if you go to that view into the view area here, you can see I define as a slash.

117
00:06:53,790 --> 00:06:55,530
It will be as a clone.

118
00:06:55,530 --> 00:06:55,830
Right.

119
00:06:55,860 --> 00:07:01,130
So we have already discussed about the things we do that the locking and the clone and then our name.

120
00:07:01,380 --> 00:07:03,500
So here should be the key to our index base.

121
00:07:03,910 --> 00:07:06,360
So here you have to define your index parts.

122
00:07:06,390 --> 00:07:07,580
I guess somebody finding it.

123
00:07:07,590 --> 00:07:11,870
Now, if you look at say, well, again now go back.

124
00:07:11,880 --> 00:07:14,250
And also I just refresh it.

125
00:07:15,420 --> 00:07:21,540
Just refresh it now, clear the locking and I guess locking the Karzi and then for the past four, three,

126
00:07:21,550 --> 00:07:24,290
four, five, because the locking.

127
00:07:24,780 --> 00:07:25,170
Yeah.

128
00:07:25,200 --> 00:07:30,930
Now we are successfully locking and now if there's a lock out now here you can see it's now showing

129
00:07:30,930 --> 00:07:32,030
some of the arrow.

130
00:07:32,040 --> 00:07:37,950
That is a page not found and also selected to one of the another liberal as it accounts.

131
00:07:37,950 --> 00:07:38,260
Right.

132
00:07:38,580 --> 00:07:43,430
So here also here, we have to do we have to defining some of the things like when this user will be

133
00:07:43,440 --> 00:07:47,010
log out and our D you are a lot should be visible here.

134
00:07:47,010 --> 00:07:48,840
It should be visible our logging.

135
00:07:49,140 --> 00:07:50,530
So that is the URL.

136
00:07:50,550 --> 00:07:54,540
If you want to define then you have to do we have to go to your setting.

137
00:07:54,570 --> 00:08:01,300
That means, you know, our side into the side, that door setting option and the setting option of

138
00:08:01,530 --> 00:08:02,970
adding to the last area.

139
00:08:03,270 --> 00:08:06,840
Like after this picture, I want to do the different the note for you.

140
00:08:07,320 --> 00:08:10,110
This will be as a locking here.

141
00:08:10,110 --> 00:08:12,540
We have to define this out, this part.

142
00:08:12,930 --> 00:08:15,460
So when our locking you already, we have to define.

143
00:08:15,480 --> 00:08:19,560
So I just simply defended the locking and the you are still OK for the locking.

144
00:08:19,560 --> 00:08:20,280
You are still here.

145
00:08:20,280 --> 00:08:21,770
We have to define the path.

146
00:08:22,200 --> 00:08:25,240
So here I have to define the path will be as a logging.

147
00:08:25,980 --> 00:08:26,370
Right.

148
00:08:26,380 --> 00:08:33,150
So here I have already defined all the other parts that will be our you are so we over this area for

149
00:08:33,150 --> 00:08:35,190
the reasons here I have defined our logging.

150
00:08:35,190 --> 00:08:36,260
You are well into the logging.

151
00:08:36,260 --> 00:08:39,510
You are l I defined the path it will be as a logging perfect.

152
00:08:39,810 --> 00:08:41,880
So now if you click as I save all.

153
00:08:43,050 --> 00:08:51,140
OK, now I just clear the save all again jacket, and now I just go back and refresh it again.

154
00:08:51,690 --> 00:08:55,290
There is a home base that is a registered base, that is a logging base.

155
00:08:55,290 --> 00:09:00,400
That is a long, old place to know if you click as a logging and down here at the front of the Karzai

156
00:09:00,540 --> 00:09:05,980
at the gate and then our password clickers are logging.

157
00:09:06,660 --> 00:09:08,370
Now you are successfully logging.

158
00:09:08,370 --> 00:09:13,540
And also if you go to our log out now, you can see now they have no error.

159
00:09:13,620 --> 00:09:18,180
OK, you can see now if you click on here now, it's automatically added our D.C. Warrell.

160
00:09:18,180 --> 00:09:22,800
That is the URL I have defined in our setting of scenario into the setting.

161
00:09:22,800 --> 00:09:23,670
I have defined this.

162
00:09:23,670 --> 00:09:24,420
You are light.

163
00:09:24,690 --> 00:09:27,510
So now you can see so perfectly related to our DC also.

164
00:09:27,510 --> 00:09:28,270
That is the URL.

165
00:09:28,290 --> 00:09:32,780
I have already created it and after that automatically added our dislikable function.

166
00:09:33,060 --> 00:09:37,500
That means that I have also another function I have use as a default on the Django function.

167
00:09:37,500 --> 00:09:38,700
That is a logout function.

168
00:09:39,120 --> 00:09:44,310
I hope friend is very much clear to you because of all I have already created one of the while as a

169
00:09:44,310 --> 00:09:44,730
logging.

170
00:09:44,730 --> 00:09:49,410
If you go to that logging, you can see I have already created on the wall as a logging now concede

171
00:09:49,410 --> 00:09:51,760
they have no errors, difficult to log out perfectly.

172
00:09:51,760 --> 00:09:56,970
It's not redacted to our pace, so friendly successfully complete our logging portion.

173
00:09:56,970 --> 00:10:02,250
We successfully complete our registration portion and also we successfully complete our logged position.

174
00:10:02,610 --> 00:10:08,520
So now I want to do I want to actually update our display nabarlek when this user will be logged in.

175
00:10:08,520 --> 00:10:12,890
OK, that means when this is over will be logged in the NRA, the start and the locking, these two

176
00:10:12,900 --> 00:10:14,640
of these button not should be visible.

177
00:10:14,850 --> 00:10:19,680
And when this user will be logged out, then our disaster and the logging will be visible.

178
00:10:20,040 --> 00:10:21,930
So how can we find this validation?

179
00:10:21,930 --> 00:10:25,110
In our next video, I will show you that things with the live example.

180
00:10:25,530 --> 00:10:28,920
So thanks for watching and I will see you in the next video.
