Hello, friend, welcome back.
In a previous video I have already discussed about the things we do, how can insert that data from
your contact from right.
And also here we successfully displayed.
So now in this video, I want to do want to work for our authentication.
That means the logging authentication.
So to the logging authentication they have, we will I will discuss about how can working with the logging
register forget password?
So everything is step by step.
I will show you.
So for doing this better for the authentication I want to do want to create another application, then
it'll be better.
Right.
So first of all, I want to do in our menu area into the menu area, I want to put on the menu.
So that is in our layout.
Right.
So now we don't need this.
I just simply remove everything from here and now go to our layout and the layout area.
So that is our menu.
Right.
So that domino so do the menu.
I just simply copied.
OK, just copy.
And here after this contact I may meet on the account or my account or whatever you want.
So maybe that's in my account.
OK, that will be in my account.
And here also you have to do we have to put some of the order.
So now if you click as to save all and now if you refresh it.
So that is our home, you can see that is Iacone perfect, so that is our home base and that is on my
account.
So now I want to do for our account section.
I want to create another application.
So if you want to create another application, I think you already remember it.
What exactly you have to do?
You have to go directly to your portfolio page.
That means our main directorate.
Right.
So that is our main directly and in the mandatory area I want to do to create one of the application
so you can to create that application, you have to write down to the.
Sorry.
That will be as a jungle and then, I mean, Django administered up is start, and I just name one of
the I just made me do the authentication, OK?
I just named one of the application as the authentication.
So know, if you want to create it like it is, enter the legal system created the authentication.
So that is authentication.
So first to work we have to do we have to add that our authentication application in our portfolio setting.
So right now I have created a new one, so I just simply copied and pasted it will be as an authentication
or application.
OK, so that means that will be our authentication.
Perfect.
So make sure the spelling is correct and then you'll get that error that is authentication.
Perfect.
So now I just click the save all and now they just simply remove it.
And then our next work is we have to do we have to create one of the you.
Because while everything related with our authentication, I want to save all that.
You are in our particular D application area.
So for the reasons I create new file and you Oriels start by side are simply created on the walls.
And now here should be just like that.
If we got the contact from our contact.
You are a little better from here.
I just copy it.
OK, I copy them here, I just simply paste it.
So here we have to do, we have to add on the authentication and also in our many warrell that means
our main app and that is our Erato.
And here also we have to do have to load it fast.
Right.
So just name it and it will be as the authentication.
So there will be one of the authentication.
And here we have to do we have to include our TS authentication, then that is our.
You are right.
So now here I just added our authentication.
So that will be our other indication, I hope is very much clear to your friend, that means why should
be make that part as authenticate and needs to be dictatorial to dictate you are ill.
That's when it should be the key to this authenticate.
And that is our authenticity.
And here we have to do we have to create a function that means here we have to add that function name
on here.
Right.
So I want to do in our viewers, I want to create one of the function name as a lockie.
And I also want to do a name, that part as a locking.
Right.
So now we have to create this function.
That means a locking function in our view.
I have already added in put it our view, that machine authentication, that is our view.
Right.
So here I want to do one to create one of the functions.
So if you want to create it like that, Dave, and then our function name as a locking.
Right.
And then also here we have to do have to pass on of the request.
So as I told you before, the poster will be just like the same and then redone and then the return
and they would be and render it right with this little in there.
Here we have to pass.
Our transmitter will be at the request and then our final location.
So better for the authentication I want to do in our template area.
That is our template into the template area for our authentication to create another new folder.
And I just name it as authentication.
OK, I name it one of the folder name will be the authentication, so I just simply name it, see the
authentication area and clear some of the file I want to create on the file as a logging dot is HTML.
And also I want to create another file for the register that we need for the registration
system that is HTML and also for the forget password.
I want to create another one as a forget, not still perfect.
So here I have created three of this as a logging registered e-mail and the logging e-mail.
So now first of all, I want to load our Locky.
That means, in our view, authentication viewers will be rendered our disposition.
That means, first of all, that will be our authentication folder into the authentication folder.
I want to load out this logging e-mail.
So that will be the logging dot.
Esteemable, perfect.
So here I just simply returned it.
That means when in our Etoile is will be added or this part, it should be the key to our view with
our this method.
That means this function to the view that is our function and into the function area.
I just simply don't render out the space.
So now if you want to display it like there is a logging e-mail.
Right.
So better I want to do I want to copy everything from our contact.
OK, that means everything.
I want to copy it.
I just simply copy everything from here and now in our logging.
So step by step, I will work for a long register and forget that there are many else.
So there are many that indicates right now.
Also we try to save it.
OK, save all, just remove it.
And here I just simply pasted that print.
So there is a word that will be our logging and logging base and also that will be as a logging base.
That means the logging and here that will be as a logging.
And then there is a map.
So you don't need this map.
I just simply remove it.
And also there is a location that is our context here.
Also, we don't need this, actually.
OK, here also, we do need these better.
And that is the word this Dave saying to the end of our total, this Dave.
OK, so from here I want to do and actually remove total things from here.
So that's all.
So now let's check this out.
If you click on the save all, so now it should be loaded, right?
So it should be loaded.
So for that, we have already created on the real path.
And I just named that part of the logging.
Right.
That means here I load it as a logging.
So into the layout area.
I want I can actually add our this part that means into the layout I have already created along the
menu as our my account will be loaded out this year.
Also, I just simply added our all will be as a logging right.
So no, I just simply added as a logging perfect.
No, if we have to save all, if you refresh it and now if you go to our my account.
Yes, you can see it's the perfectly loaded our logging that is our whole.
Logging, and that is our logging input field, so now we have to do first of all, I want to actually
design all the Torbay's, I want to design our logging base, our registered base, and also the forget
password base.
And then we will actually work dynamically.
How can logging that user so don't worry is step by step.
I will cover everything.
OK, so now, first of all, for the logging, we need actually to feel what will be as the email and
will be as a password.
All right.
So now I want to actually customize it.
So that is the layout.
I have already put that link.
Now go to our logging dot e-mail.
So here I simply load it right.
So here that is the order form.
So right now I only want to take one from OK rather than everything.
I want to remove bit.
And that is what the form also.
That is another one better.
I just simply remove everything from here.
OK, so I just simply remove everything together, save all the freshet.
Yeah, obviously there is a clear one field as your name, so that is our form.
So right now we don't need this.
I just simply remove this div, OK, and also I remove this tape.
So that is one of the dev and that is our and if.
Right.
So that will be and if so this form I want to do and to make as a form not I make as a form group.
OK.
That will be as a fun group.
And also I take another one, Baystate.
Now let's check this out.
If it going to save all the freshet.
Yeah.
You see the clever one and the two.
Perfect.
And then also here I want go to make that things which will be as a Locky, OK, this will be as a locking.
And then there is a word, Dave, I want to do.
I want textually that is our Elzie tense.
I want to learn to make the things that the L.G. for not to save all.
And now if you refresh it.
Yeah, you can see it's perfect.
That is actually logging form.
That means that is actually the called Elzy for.
So now first of all, that will be as email that means here.
I want to put some of the placeholder as in your email, OK, email and then we will be as your password.
So that will be our placeholder.
And here that is the name name.
I just name it as an email and also for the type will be for email as the email type.
Right.
And for the password.
I make that as a password type.
So it will be as a password type and also I name it as a password.
Perfect.
Now if you can the save all and now if you refresh.
Yeah.
You can see.
So that is actually your email placeholder and that is your password.
So here you have to put your email address and then there is a clear password type.
And also here I want to do want to add another link for forget password and then I want to add another
one for the register.
And that means that these are forms after this form.
OK, here I take one of these small and with these smaller airports on the note, I don't have any I
don't have an account.
OK, if you don't have any account, then you can create a new one.
Look at this.
Step up one of the Elif Sabater here, I added on the ahead if it should be as a register.
OK, register now for the step up on the bottom link will be visible and also for the forget password.
So that is all logging.
That means logging buttons after this here I name it as a forget ok forget password or my password.
OK, that means I forget my password.
So that will be the fogger password.
Now let's check this out.
If you click and save all and now if you it yeah.
You can see directly forget my password and logging and then register so better able to do and actually
put some of the bracket.
OK, I just put some of the bracket and also for I put some of the brackets together, save all refresh
freshet.
So after this also here, that is actually the bracket I want to do and bracket that after that is small,
no particular Savol refreshing it.
Yeah, we can see the regular register for your password.
Perfect.
So long, friend.
I hope you can read understand about it.
So here what exactly we have to do.
That is our email address and the password.
Forget password.
So then ah forget password.
Template will be loaded and also click click on here.
So we loaded our another one.
So if you want to do that.
Well first of all we have to do we have to actually loaded that.
We have to it.
First of all some of the.
So whatever you are that means you know, authentication.
You are so here I want to do and to copy it.
I want to take two of these.
So first of all for our which will be at the register of registration and then you know, our view and
the view area, I have to create one of the function as a registration and I just name it at the registration.
And also another one I want to add on the part for our forget password as a forget password.
OK, that will be either forget password and with a variable, I have to create one of the function
as a forget password and then I just name it as a forget password.
So now we have to do we have to create our both of these.
That means in our view, we have to create our bothof of this method.
Right.
So now go to our authentication and the view's so friendly you can see how much is it easier if you
already know that basic structure, how much easily you can do that work.
So I know we have to do we have to create both of these.
So first of all, it will be at the register that mean this the one that is already STR method and another
function that is our forget password.
So that will be as a forget password.
So here I want to do and to load our two of this space.
That means one will be for our uh the registration dot com, the sorry registration.
So I just simply name it at the register registration not as HTML.
And then another one of the forget that is HTML.
Forget that e-mail.
Perfect.
So that's all we have to do.
So here we successfully updated our logging person in our next video on to personal design or forget
base.
And then I want to design our database and after that we will work.
OK, and also here, if you want to add some of the name, then it's better if you go to a logging e-mail
before this form here on two, I want to take one of the A's to protect and I just name it as a logging
log being your account.
Now click as save all.
And now if you refresh it.
Yeah, you can see it's not perfect suffering as a logging your account.
So your next video on the design, our forget password pays and then I want to design or restart and
after that will work.
OK, how can do that work.
Step by step I will show that things with the live example.
So thanks for watching.
I'll see you in the next video.