Hello, friend will come back in a previous video, we successfully added our profile form with our
all that field and also from here you can now update that from now on to do all to work for our messaging
option.
Like here, if you want to update, then automatically be sure some of the message.
So here, how can this play this option?
In this video, I will show you that things with a live example for doing this.
We have to do we have to add one of the last one of the Django building class, we have to add.
So we have to add it in our view.
That means, you know, our app logging into that blogging.
There is our view.
So into this video I want to do when this user will sign up, then it will be sold some of the message
and also awareness of logged in.
It will be short on the message when it will be as a a log out, then also shall be displayed some of
the message and also for the profile updated.
OK, so here's the best tip.
I will do that work for doing this.
Well, first of all, here, here we have to do we have to load one of the plus or better on the put
out the note for you.
So it'll will be as a message.
OK, messages of so from from the jungle, so from Django, the country, OK, that Deridder Jungle
Country and the jungle country.
And from here we have to do we have to import.
So I have just no different import the messages.
So there is actually the message.
So this is the class.
We have to act fast.
OK, so now with this message class, we can actually defining it like here when they sign up that is
holding the sign up will be completed.
So here after that say, OK, after they're safe here on learn to define that message.
So with these messages and here they have also different type of tag or like here, if you want to use
their success tag like as a success and also to have another one if you want to use that awning, OK.
So learning that is also another one and also that another one as a infor.
So they step up one of the tags you can actually use right now for this one.
I want to do and use that success.
OK, so do the success here.
Yeah.
We have to do we have to pass that request and the secure area we have to do we have to pass that message
text.
That is what exactly.
The message you want to place where you want to display it should be sure as the account creator successfully
account created successfully.
So this step of one of the messages will be displayed and also if you want to use it for our logging.
So for the logging I want to use to be the key to our and another some of the base.
So right now, for the long old, I want to use it.
So after that one or two there's a log out there to be sure some of the message.
And here I want to do the use a warning or an.
OK, I want to use already warning text so there is a clear warning.
OK, so with this warning tag, could also there is a request and this request we have to define that
our message.
So I want to do and to be send that message as you sorry you are locked out.
So this is one of the messages it will display and that will be as a warning type.
And also for the profile when this profile will be updated, that means who's shall we save this data
after this?
I want to show this message also with our success tag with the request, you should be sure some of
the messages, the profile, updated, successfully profile, updated successfully.
So now I have to do I have to show this message.
OK, so I have to show this message id so here every four pages, I have already logged our base e-mail
right through to the base e-mail.
I want to defining it.
So here we don't need to add that things individually for every pages here.
I want to add that things in our business html that means you know the basics.
HTML if you go and here that is our container and there is our body block.
So before that body block here.
OK.
So here I want to do first of all I want to take on that Dave.
And here I defined the last name, the message that is also one of the building, one of the class under
the message and the container.
So about container empty to look.
So that is also one of the building class we have to define.
And after that, we I want to turn to page one of the if condition.
So here I define that if if you get an email, say so here, different messages.
So there is a clear message that if you get any messages, then it'll be that some of the action and
aless, will we do another work?
OK, so also we have to do we have to end it.
So the assembly and our and if say the assembly ended.
So now here I want to take another for loop.
So here I already found another for loop as far as a message.
So OK, that is a message in messages.
So there is a clear message in messages.
So no in particular that position here I want to do first of all, I want to finish our four loop that
means and for assembly and for and now here I take another Dave.
So here at the end of the day, we're here.
So here we have to do will be one of the functions.
So here are the final the if condition.
OK, so here I find that if our message.
So with this message actually I guess with this message, I want to access all the text.
So here I have defined the text as a success tag and that is our another one I have defined as orning
tag.
Right.
So here we have to define that all the text.
So here I define the tags so that they are.
And then here on the on the the front of the class.
So the symbol of the class and for the class here it will be as alert, alert, alert.
Sorry.
Alert that.
And here we have to define that, our Mastech, that means our this message tech, so I just simply
define our this message tax.
And also here we have to do we have to end our D.C. condition.
So after this after this, I just simply defined and our if condition.
So I just simply define as and if OK.
And also after that we have to do we have to define the role.
So here would be as a role and for the role we have to define, we have to define that role will be
as alert side is simply defined as alive.
So that is all they're actually building.
I guess we have to add it.
So after that, I want to do our message.
So here in particular, that position in that position is to be sure that message and also in this message
will be displayed, then that means you should be displaying our particular this debate.
So here I also want to do when this message will be displayed, then it should be shown on the cross
button.
So if you want to hide this message, then you can hide it, OK?
So for doing this here also, we have to do we have to defend the button.
So I just simply defend the button.
Button will be as a button.
And here there is a name.
We don't need this name.
I just simply moubayed here at the front of the class so class will be as close.
OK.
So there is a closed class.
And also here we have defined the data that are dismissed that that means this message will be dismissed.
OK, so just simply fun.
Is this dismissed and then it shall be with our alert
so that they are alert.
And also here we have to define the area area level a level will be as a close.
OK, so this type of one of that Texas will display that there will be actual lower level and into the
baton area here.
I don't want to enforce all the text here.
I want to show one of the SPEN, so just take one they spend.
And with this penalty I want to do are defined as the area hiden area and then he then OK, I just defends
the area he area here and will be as a true and also here.
I want to do that on the cross bottom across, but there is also this general code at the Times.
So I just simply as the Times occurrence.
So that's all you have to do.
So as I told you, it is that is certainly building on the function.
So here I'm actually using it.
So that is over and for and there is out and if and then or this last one.
And after that, that is our blog.
OK, so here make sure you add it properly so this you can actually check your all that message.
So now let's check this out.
If everything OK, it should be work.
Like I just click it to save all.
Take our server.
Everything is running well, and now I refresh that page, that of our profile page again.
Now, consider our profile so no one to update it like there is a guardian and I just make the things
as a con.
So I just simply defended the con.
And now here, if you click the save.
Yes, now, because now it's actually showing off the message as a profile admitted successfully, so
that is the things I have defined.
So here I have defined as a profile.
So when shall we say after that?
I just simply firepower's our message as a success request, and that is our message sticks as a profile
of successful.
OK, and also here you can see there is also shows on the cross, but also for the cross button in our
spin, in the spin area, in our business.
Jamul, I have defined the times.
That means destroying one of the cross button.
So I here if you also want to hide it like the cross logo system totally gone from here.
OK, so now conceptional successfully gone.
And also we set up, we have defined that part, we have defining it in our sign up.
Right.
So that is claw for our sign ups.
Allow us to do want to create one of the Saina.
First of all from here we had to logged out so that you will always be as a logged out.
So now here at the front of the logged out enter.
So that is actually looked to on here.
So I just simply defended logging again.
So that is all locking so now to do and to create another account.
So here I name it as a crazy the dot com and password.
And you do me one, two, three, four, five.
OK, so now to create another new account and create.
Yes.
You can see so perfectly no such thing as the account created successfully and then it should be taken
to a logging base.
Right.
So also here you can see I defined this part.
That means in our view.
So when will be successfully sign up after the sign up or shall we show some of the success matches
as they account successfully?
So now this is not showing us a computer successfully.
So if you want to remove it, you can remove it from here.
So I hope you enjoy it very much.
So with this, you can actually show all that your message with the tech scene on next video.
I want to do want to work for our product model.
OK, how can create also the model for our product and how can migrate it is step by step.
I'll show you that things with a live example.
So thanks for watching.
I will see you in the next video.