1
00:00:00,180 --> 00:00:06,990
Hello, friend will come back in a previous video, we successfully added our profile form with our

2
00:00:06,990 --> 00:00:14,010
all that field and also from here you can now update that from now on to do all to work for our messaging

3
00:00:14,010 --> 00:00:14,370
option.

4
00:00:14,370 --> 00:00:18,810
Like here, if you want to update, then automatically be sure some of the message.

5
00:00:18,820 --> 00:00:21,480
So here, how can this play this option?

6
00:00:21,480 --> 00:00:25,620
In this video, I will show you that things with a live example for doing this.

7
00:00:25,620 --> 00:00:30,240
We have to do we have to add one of the last one of the Django building class, we have to add.

8
00:00:30,630 --> 00:00:33,270
So we have to add it in our view.

9
00:00:33,510 --> 00:00:37,350
That means, you know, our app logging into that blogging.

10
00:00:37,350 --> 00:00:38,100
There is our view.

11
00:00:38,460 --> 00:00:44,100
So into this video I want to do when this user will sign up, then it will be sold some of the message

12
00:00:44,100 --> 00:00:46,680
and also awareness of logged in.

13
00:00:46,680 --> 00:00:52,860
It will be short on the message when it will be as a a log out, then also shall be displayed some of

14
00:00:52,860 --> 00:00:55,290
the message and also for the profile updated.

15
00:00:55,320 --> 00:00:57,090
OK, so here's the best tip.

16
00:00:57,090 --> 00:00:58,770
I will do that work for doing this.

17
00:00:58,770 --> 00:01:03,960
Well, first of all, here, here we have to do we have to load one of the plus or better on the put

18
00:01:03,960 --> 00:01:04,950
out the note for you.

19
00:01:05,460 --> 00:01:07,140
So it'll will be as a message.

20
00:01:10,050 --> 00:01:20,220
OK, messages of so from from the jungle, so from Django, the country, OK, that Deridder Jungle

21
00:01:20,220 --> 00:01:22,570
Country and the jungle country.

22
00:01:22,620 --> 00:01:24,880
And from here we have to do we have to import.

23
00:01:24,900 --> 00:01:27,420
So I have just no different import the messages.

24
00:01:29,190 --> 00:01:30,530
So there is actually the message.

25
00:01:30,600 --> 00:01:31,470
So this is the class.

26
00:01:31,470 --> 00:01:32,800
We have to act fast.

27
00:01:32,820 --> 00:01:38,950
OK, so now with this message class, we can actually defining it like here when they sign up that is

28
00:01:38,950 --> 00:01:40,620
holding the sign up will be completed.

29
00:01:40,650 --> 00:01:45,350
So here after that say, OK, after they're safe here on learn to define that message.

30
00:01:46,590 --> 00:01:52,830
So with these messages and here they have also different type of tag or like here, if you want to use

31
00:01:52,830 --> 00:01:59,680
their success tag like as a success and also to have another one if you want to use that awning, OK.

32
00:02:00,930 --> 00:02:05,900
So learning that is also another one and also that another one as a infor.

33
00:02:05,910 --> 00:02:10,080
So they step up one of the tags you can actually use right now for this one.

34
00:02:10,080 --> 00:02:11,710
I want to do and use that success.

35
00:02:11,730 --> 00:02:13,410
OK, so do the success here.

36
00:02:13,450 --> 00:02:13,530
Yeah.

37
00:02:13,590 --> 00:02:18,830
We have to do we have to pass that request and the secure area we have to do we have to pass that message

38
00:02:18,840 --> 00:02:19,120
text.

39
00:02:19,200 --> 00:02:20,220
That is what exactly.

40
00:02:20,220 --> 00:02:25,800
The message you want to place where you want to display it should be sure as the account creator successfully

41
00:02:27,060 --> 00:02:30,330
account created successfully.

42
00:02:32,480 --> 00:02:37,860
So this step of one of the messages will be displayed and also if you want to use it for our logging.

43
00:02:37,880 --> 00:02:41,410
So for the logging I want to use to be the key to our and another some of the base.

44
00:02:41,790 --> 00:02:45,390
So right now, for the long old, I want to use it.

45
00:02:45,390 --> 00:02:49,050
So after that one or two there's a log out there to be sure some of the message.

46
00:02:49,050 --> 00:02:51,960
And here I want to do the use a warning or an.

47
00:02:53,050 --> 00:02:57,750
OK, I want to use already warning text so there is a clear warning.

48
00:02:57,780 --> 00:03:03,300
OK, so with this warning tag, could also there is a request and this request we have to define that

49
00:03:03,300 --> 00:03:04,670
our message.

50
00:03:04,670 --> 00:03:11,790
So I want to do and to be send that message as you sorry you are locked out.

51
00:03:14,400 --> 00:03:18,990
So this is one of the messages it will display and that will be as a warning type.

52
00:03:18,990 --> 00:03:25,070
And also for the profile when this profile will be updated, that means who's shall we save this data

53
00:03:25,080 --> 00:03:25,710
after this?

54
00:03:25,720 --> 00:03:31,530
I want to show this message also with our success tag with the request, you should be sure some of

55
00:03:31,530 --> 00:03:38,300
the messages, the profile, updated, successfully profile, updated successfully.

56
00:03:39,120 --> 00:03:41,790
So now I have to do I have to show this message.

57
00:03:41,820 --> 00:03:49,560
OK, so I have to show this message id so here every four pages, I have already logged our base e-mail

58
00:03:49,560 --> 00:03:51,210
right through to the base e-mail.

59
00:03:51,210 --> 00:03:52,200
I want to defining it.

60
00:03:52,210 --> 00:03:56,910
So here we don't need to add that things individually for every pages here.

61
00:03:56,910 --> 00:04:00,810
I want to add that things in our business html that means you know the basics.

62
00:04:00,810 --> 00:04:06,270
HTML if you go and here that is our container and there is our body block.

63
00:04:06,780 --> 00:04:09,030
So before that body block here.

64
00:04:09,060 --> 00:04:09,430
OK.

65
00:04:09,570 --> 00:04:13,190
So here I want to do first of all I want to take on that Dave.

66
00:04:13,680 --> 00:04:20,530
And here I defined the last name, the message that is also one of the building, one of the class under

67
00:04:20,550 --> 00:04:22,200
the message and the container.

68
00:04:24,160 --> 00:04:27,180
So about container empty to look.

69
00:04:27,240 --> 00:04:29,660
So that is also one of the building class we have to define.

70
00:04:29,910 --> 00:04:33,540
And after that, we I want to turn to page one of the if condition.

71
00:04:34,140 --> 00:04:40,140
So here I define that if if you get an email, say so here, different messages.

72
00:04:41,040 --> 00:04:46,680
So there is a clear message that if you get any messages, then it'll be that some of the action and

73
00:04:46,680 --> 00:04:48,360
aless, will we do another work?

74
00:04:48,390 --> 00:04:50,850
OK, so also we have to do we have to end it.

75
00:04:51,270 --> 00:04:55,440
So the assembly and our and if say the assembly ended.

76
00:04:55,890 --> 00:04:58,490
So now here I want to take another for loop.

77
00:04:58,890 --> 00:05:04,110
So here I already found another for loop as far as a message.

78
00:05:05,250 --> 00:05:07,860
So OK, that is a message in messages.

79
00:05:09,390 --> 00:05:11,550
So there is a clear message in messages.

80
00:05:11,850 --> 00:05:17,550
So no in particular that position here I want to do first of all, I want to finish our four loop that

81
00:05:17,550 --> 00:05:23,840
means and for assembly and for and now here I take another Dave.

82
00:05:24,480 --> 00:05:27,210
So here at the end of the day, we're here.

83
00:05:27,270 --> 00:05:29,960
So here we have to do will be one of the functions.

84
00:05:29,960 --> 00:05:32,880
So here are the final the if condition.

85
00:05:33,180 --> 00:05:36,970
OK, so here I find that if our message.

86
00:05:37,710 --> 00:05:43,200
So with this message actually I guess with this message, I want to access all the text.

87
00:05:43,560 --> 00:05:49,620
So here I have defined the text as a success tag and that is our another one I have defined as orning

88
00:05:49,620 --> 00:05:49,970
tag.

89
00:05:49,980 --> 00:05:50,290
Right.

90
00:05:50,640 --> 00:05:52,890
So here we have to define that all the text.

91
00:05:52,890 --> 00:05:56,190
So here I define the tags so that they are.

92
00:05:56,730 --> 00:05:59,250
And then here on the on the the front of the class.

93
00:06:00,300 --> 00:06:06,870
So the symbol of the class and for the class here it will be as alert, alert, alert.

94
00:06:07,680 --> 00:06:08,260
Sorry.

95
00:06:08,310 --> 00:06:08,850
Alert that.

96
00:06:09,250 --> 00:06:16,420
And here we have to define that, our Mastech, that means our this message tech, so I just simply

97
00:06:16,900 --> 00:06:18,640
define our this message tax.

98
00:06:18,850 --> 00:06:21,980
And also here we have to do we have to end our D.C. condition.

99
00:06:22,000 --> 00:06:28,110
So after this after this, I just simply defined and our if condition.

100
00:06:29,140 --> 00:06:32,390
So I just simply define as and if OK.

101
00:06:32,680 --> 00:06:35,380
And also after that we have to do we have to define the role.

102
00:06:35,410 --> 00:06:41,800
So here would be as a role and for the role we have to define, we have to define that role will be

103
00:06:41,800 --> 00:06:45,250
as alert side is simply defined as alive.

104
00:06:45,290 --> 00:06:46,920
So that is all they're actually building.

105
00:06:46,930 --> 00:06:48,280
I guess we have to add it.

106
00:06:48,820 --> 00:06:51,600
So after that, I want to do our message.

107
00:06:51,610 --> 00:06:59,510
So here in particular, that position in that position is to be sure that message and also in this message

108
00:06:59,710 --> 00:07:04,270
will be displayed, then that means you should be displaying our particular this debate.

109
00:07:04,510 --> 00:07:08,980
So here I also want to do when this message will be displayed, then it should be shown on the cross

110
00:07:08,980 --> 00:07:09,510
button.

111
00:07:09,520 --> 00:07:13,330
So if you want to hide this message, then you can hide it, OK?

112
00:07:13,630 --> 00:07:17,100
So for doing this here also, we have to do we have to defend the button.

113
00:07:17,830 --> 00:07:19,450
So I just simply defend the button.

114
00:07:19,450 --> 00:07:21,050
Button will be as a button.

115
00:07:21,070 --> 00:07:22,330
And here there is a name.

116
00:07:22,330 --> 00:07:23,470
We don't need this name.

117
00:07:23,980 --> 00:07:30,270
I just simply moubayed here at the front of the class so class will be as close.

118
00:07:30,900 --> 00:07:31,180
OK.

119
00:07:31,210 --> 00:07:32,710
So there is a closed class.

120
00:07:32,710 --> 00:07:38,860
And also here we have defined the data that are dismissed that that means this message will be dismissed.

121
00:07:38,890 --> 00:07:40,200
OK, so just simply fun.

122
00:07:40,220 --> 00:07:45,430
Is this dismissed and then it shall be with our alert

123
00:07:48,220 --> 00:07:49,570
so that they are alert.

124
00:07:49,570 --> 00:07:57,610
And also here we have to define the area area level a level will be as a close.

125
00:07:57,760 --> 00:08:03,730
OK, so this type of one of that Texas will display that there will be actual lower level and into the

126
00:08:03,730 --> 00:08:04,900
baton area here.

127
00:08:04,910 --> 00:08:07,610
I don't want to enforce all the text here.

128
00:08:07,630 --> 00:08:11,020
I want to show one of the SPEN, so just take one they spend.

129
00:08:11,020 --> 00:08:21,160
And with this penalty I want to do are defined as the area hiden area and then he then OK, I just defends

130
00:08:21,240 --> 00:08:25,730
the area he area here and will be as a true and also here.

131
00:08:25,730 --> 00:08:32,500
I want to do that on the cross bottom across, but there is also this general code at the Times.

132
00:08:33,550 --> 00:08:36,420
So I just simply as the Times occurrence.

133
00:08:36,460 --> 00:08:38,200
So that's all you have to do.

134
00:08:38,260 --> 00:08:41,280
So as I told you, it is that is certainly building on the function.

135
00:08:41,770 --> 00:08:43,830
So here I'm actually using it.

136
00:08:44,560 --> 00:08:49,210
So that is over and for and there is out and if and then or this last one.

137
00:08:49,840 --> 00:08:51,460
And after that, that is our blog.

138
00:08:52,130 --> 00:08:58,750
OK, so here make sure you add it properly so this you can actually check your all that message.

139
00:08:59,080 --> 00:09:00,460
So now let's check this out.

140
00:09:00,460 --> 00:09:02,230
If everything OK, it should be work.

141
00:09:02,230 --> 00:09:03,820
Like I just click it to save all.

142
00:09:05,740 --> 00:09:06,710
Take our server.

143
00:09:06,730 --> 00:09:11,560
Everything is running well, and now I refresh that page, that of our profile page again.

144
00:09:13,270 --> 00:09:18,360
Now, consider our profile so no one to update it like there is a guardian and I just make the things

145
00:09:18,370 --> 00:09:18,950
as a con.

146
00:09:19,720 --> 00:09:21,520
So I just simply defended the con.

147
00:09:21,530 --> 00:09:24,400
And now here, if you click the save.

148
00:09:25,570 --> 00:09:32,170
Yes, now, because now it's actually showing off the message as a profile admitted successfully, so

149
00:09:32,260 --> 00:09:33,880
that is the things I have defined.

150
00:09:34,240 --> 00:09:36,430
So here I have defined as a profile.

151
00:09:36,440 --> 00:09:38,440
So when shall we say after that?

152
00:09:38,440 --> 00:09:44,890
I just simply firepower's our message as a success request, and that is our message sticks as a profile

153
00:09:44,890 --> 00:09:46,020
of successful.

154
00:09:46,060 --> 00:09:51,970
OK, and also here you can see there is also shows on the cross, but also for the cross button in our

155
00:09:52,050 --> 00:09:54,520
spin, in the spin area, in our business.

156
00:09:54,520 --> 00:09:56,060
Jamul, I have defined the times.

157
00:09:56,110 --> 00:09:59,340
That means destroying one of the cross button.

158
00:09:59,620 --> 00:10:05,290
So I here if you also want to hide it like the cross logo system totally gone from here.

159
00:10:05,590 --> 00:10:07,860
OK, so now conceptional successfully gone.

160
00:10:07,870 --> 00:10:14,380
And also we set up, we have defined that part, we have defining it in our sign up.

161
00:10:14,380 --> 00:10:14,820
Right.

162
00:10:14,830 --> 00:10:16,420
So that is claw for our sign ups.

163
00:10:16,420 --> 00:10:18,700
Allow us to do want to create one of the Saina.

164
00:10:18,710 --> 00:10:26,110
First of all from here we had to logged out so that you will always be as a logged out.

165
00:10:26,770 --> 00:10:29,740
So now here at the front of the logged out enter.

166
00:10:29,890 --> 00:10:32,340
So that is actually looked to on here.

167
00:10:32,350 --> 00:10:34,300
So I just simply defended logging again.

168
00:10:37,330 --> 00:10:40,760
So that is all locking so now to do and to create another account.

169
00:10:40,780 --> 00:10:48,040
So here I name it as a crazy the dot com and password.

170
00:10:49,000 --> 00:10:51,220
And you do me one, two, three, four, five.

171
00:10:51,280 --> 00:10:54,970
OK, so now to create another new account and create.

172
00:10:55,780 --> 00:10:56,200
Yes.

173
00:10:56,200 --> 00:11:01,390
You can see so perfectly no such thing as the account created successfully and then it should be taken

174
00:11:01,390 --> 00:11:02,490
to a logging base.

175
00:11:02,620 --> 00:11:02,980
Right.

176
00:11:03,340 --> 00:11:06,490
So also here you can see I defined this part.

177
00:11:06,490 --> 00:11:07,630
That means in our view.

178
00:11:08,080 --> 00:11:14,140
So when will be successfully sign up after the sign up or shall we show some of the success matches

179
00:11:14,320 --> 00:11:16,180
as they account successfully?

180
00:11:16,510 --> 00:11:19,120
So now this is not showing us a computer successfully.

181
00:11:19,150 --> 00:11:21,430
So if you want to remove it, you can remove it from here.

182
00:11:21,790 --> 00:11:23,920
So I hope you enjoy it very much.

183
00:11:23,930 --> 00:11:28,770
So with this, you can actually show all that your message with the tech scene on next video.

184
00:11:28,780 --> 00:11:31,040
I want to do want to work for our product model.

185
00:11:31,150 --> 00:11:36,780
OK, how can create also the model for our product and how can migrate it is step by step.

186
00:11:36,790 --> 00:11:38,850
I'll show you that things with a live example.

187
00:11:39,220 --> 00:11:40,770
So thanks for watching.

188
00:11:40,780 --> 00:11:42,460
I will see you in the next video.
