Hello and welcome back.
For creating the Django authentication system better I want to do I want to create another project,
then it shall be better than it will be.
Not confusing to you because of all previously, I have already created the project.
And in this project, we have already complete our court application.
Right.
So now for the authentication system, I want to create another new project.
The next will be better.
So right now I just simply log out from here.
So that is our server.
So also I just got this server.
So that is our first project.
And in this first project, I have already discussed about that things with you.
How can create the code application with this server?
Right.
So I know how to do for if you go to our exercise file and into the exercise file for the authentication
system, I want to create another folder and into this folder I name it as a Django Ott.
OK, so just name it as a Django out of the folder.
So now, first of all, I want to do want to actually take this our folder into this particular this
folder area.
I want to create our new project.
So for doing this, I want to add this folder in our Atem Ed.
So no, go to file it with the file.
I just because the open folder and now I want to do and go to our exercise file and that is our folder
name I have created as a Django.
OK, so now I just better select this folder.
So, no, I want to study it from the first, then you can well understand about it.
So right now you don't need this.
I just remember everything.
OK, so that is our Jianguo project that was here.
I have created one of the folder as a jungle out into the jungle folder.
I want to do I want to install our new project.
So if you want to create a new project, I think you already know about it.
All that basic I have already discussed about that things with you then you have to do you have to go
to your time node and it is time now that is our folder name as a jungle out.
So here I want to do want to create our own second project on the one to define as a Django like Django
and then add Bean and then you have to define your estate project right there.
They start POSIX with this is that project.
We can create some of the project.
So now I want to do unto the final the project name as my second look at my secondary school project.
So here there is a jungle and I mean and they start bosak and our music name will be as my second project
right now as they enter.
Now you can see our project is created.
So now if you go to this folder, you can see to this folder I have created another new project and
our project name as my second project.
Right.
Friend, I think everything is very much familiar to you.
So that is Armani's and my second project and that is setting you are also here.
All that setting.
We have to define the result.
You already have to defining it on here.
So first of all, I want to do I want to set up our total configuration that we already did for our
project.
So that is our first of all, that is our project name I have defined.
And in this project, I want to do I want to create one of the applications.
So if you want to create one of the application, first of all, right, now we are into this folder.
So we have to redacted to our our disposal area right into this folder area.
I want to create one of the application.
I think you already know about it, because as I told you, we have to, first of all, set up everything
whose things we have already completed in our previous all that section.
So I know how to do, first of all, change the directories.
So I just simply defined as a CD that means that change directly and then aim.
And if you click on the tab automatically to be getting that folder name, now I just click as they
change this, actually.
So you see right now we are into this our D folder area.
That means this whole area seem to this folder area.
I wanted to create one of the application for authentication.
So here you have to define as a python or the pie and the man is Dot Pi.
And then I just simply defined the start up write a start up and now I want to define that name will
be in our application name.
I defended the logging underscore app.
OK, so here I want to create one of the application so you know our project area.
So the second project area that is our locking up.
So now I just click on the enter.
Now, you can see our application is now successfully created, so that is our locking up.
So I think, Fred, you already know about every file because here we have already working with the
view that our models.
So that is our everything.
We have to, again, set up it.
So now we successfully create our application and how we define that application name as a logging app.
And now after that, what exactly we have to do, we have to actually add this application in our setting.
That means in our project is a project that it was setting five.
And is the setting fire here that is actually our installed up into the installed up area, we have
to defining it.
So here we have to define our this logging.
OK, logging under a score app.
So just simply defining it.
And also here we need our estimable files for the results here.
I want to do our project victory that we see in our project Victory here.
I want to create one of the dampers that we did the same thing.
As I told you, we have to actually do the same things that we already did in our previous probes,
all the project.
So here is our project folder.
And here I am going to create the new folder and I just name it as a template.
Right.
So that is our template folder and into the templates folder area to create another folder.
And I just name it as a logging app, logging under escort app.
So here I have to define all the various HTML file like a friend.
So I have created one of the folder for our template.
So that is a template and there is all logging app.
And now also we have to add our this template.
We have to add our list template in our computer here.
That means in our area.
So here you have to define the template templates underscore directly at the derivative.
Sorry, I just simply defined as the desire and then it will be as it always and then we have to define
that part.
So I just simply defined the part and part.
We have to join it.
So friend, I have already discussed about the things we do in our base.
That means the base base directly into the base actually here.
Also, we have to define our folder name.
So I have created our folder name as a template, so now we have to add it.
So now here just simply defining the template.
So the template of our template folder.
OK.
And also, we have to do we have to add this Templer victory, so here I take these things with these
variables.
So now we have to add it.
We have to add in our here if you go.
So in particular, that area they have also we have to add.
So here into the Tampa area, the director is here.
I have to add it completely accurately.
Right.
So now I want to do I want to create one of the templates so into the template area that is all locking
up.
And here I create new file and I just name it as a base based e-mail.
It should be just like that center that rejects the best of estimates.
Better if you go to our exercise file in your previous section.
I have already defining it.
Like if you go to our first project into the first project, that is our template, our first template
and the result basis.
But I want to open it with the sovereigntist editor.
It will be just like the same.
I just simply copied and down here.
So that is our project.
So we don't need our previous one.
OK, so there is a Class B, which is one of the first projects right now.
We don't need this.
I just simply remove it.
And now here I just simply passed it.
So now I just make the things as a BHP.
So that is about XHTML, so I want to change it as a perfect so as I told you before, everything,
I think you already know about it.
So here I define our e-mail.
So you do this to defend the title.
So here also will be needed.
So I just make the things that the title right now and then that is our success.
That means that here I have used the booster Obsidian.
So Boost Obsidian success and then that is our neighbor and the neighbor.
So there will be our links right down to take only one field.
OK, that is one menu.
So right now we don't need this.
I just want to remove it because we have to also create our all that pot so that I just make the things
as they empty is should be as a home.
And here we have to find another one.
So here we have to define another man in particular, that area.
And after that, that is our blog.
That is a blog body blog.
And there is and body blog and then our bootstrap and all the jazz files.
So here I have plaudit.
Right.
So, Fred, I think you already know about it because we already did this to Apapa for our first project.
So here I just simply I just simply copied and pasted on here.
And also we have to do we have to create another file.
So I just create a new file and I just name it as the index statistical, OK?
They just name it as the index dot estimates or should be just like the same.
If you go then if you open with the sampling text editor.
So right now here we need actually our dispositioned that we extended our Fastweb.
So here we don't need this DOT e-mails.
So right now I just simply pasted and also we have to do we have to finish it.
So I just simply want to finish it.
That means the end block, right.
So now I want to do and define the damage to be as a home.
OK, or this is index based.
This step up, one of the H1 tag I have defined so that you already know about it, so that they are
extended, it should be extended.
Our right now I have defined our application names, our application name.
So here I have defined in our template that we are looking at right now the first step.
So being our first step, I have to define that name as a first step.
So right now it will be directed to a locking up.
So I want to change it as a logging.
Sorry.
Logging, logging and indeed logging, and they will be extended our this business.
So that is our business channel.
Perfect.
So now I want to do I want to load this basuki onto loaded than what exactly you have to do.
You have to create one of the view for these applications.
Right.
That means in our application area you have to create another function for this one.
That is our views.
So here here I want to define one of the function and I just name it as a def and then I name it as
an index function.
And then also we have to parse that request.
I think you already know about it.
And then I take the addiction.
You can use the addiction or Deakes, I guess.
And right now we're using that these fuseproject.
I have used that as a addition.
So now I just simply defined as a device.
And first of all, I want to make the things as empty and then we have to do we have to return and render.
Right.
We have to be redundant.
And then the request, the request here, we have to pass out our filename.
So our final location.
I have already defined our file location in our logging up into the locking app and then here around
to load our index in the right print.
So into the template that is our locking up and that is our index decimal here.
I want to load it.
And also here we have to do we have to pass out in our context area.
So into the context, into the context I pass out, this is the variable that is added, so I simply
pass it perfect.
And after that, we have to do we have to create the wall, so we have to create one of the wall pattern
in our project victory so it to the public victory, that is that you are right.
So into this you are right now, we don't need this.
I just simply remove everything from here.
So now, first of all, here we have to do we have to also lead to the party?
Yeah, we have to include one of the includes functions such as simply the front of the library, right
into the include library.
And here I to to create another pop and also to create our new water mapping friend.
I have already discussed all that things with you.
How can create that you are mapping.
So now I also want to apply that things on here.
So I just make one of the root pot and the root part here.
We have to do so right now.
We don't need this here.
We have to include right in blood and then in particular that area.
We have to include our URLs, because you know what, this application in a logging application here,
I want to create one of the world's file.
So I just simply include it on here, you know, logging into the logging app and into the logging app
area.
I want to create the pie files.
So here I define as a pie as you order.
OK, you are so here I have to do I have to create one of the one of the file in our logging application.
So now here I just got a new file and now I defended you.
What else.
I just simply give you what I was taught by.
No, I disagree in the safe and with the oil by area, I want to mapping it.
I think you already know about it.
So here we have to do we have to, first of all, add our form from and then Django and then we have
to also import somebody you are left with.
So include the path and the view.
Right.
So we did that work before.
So I just simply define again as a config that was a kornev.
And then here we have to defend our URLs and then also you have to import import that you all right.
They just simply definer that you are ill.
That is, that you are along of the library and also are from our Django fo from Django.
Go on to define our DC.
What else.
Sitting to see what else I want to import.
And also here we have to define our part.
So I just simply defined that part.
Right.
And then also we have to do we have to define our form, our form, our application name.
So our application that is in our logging application, in with the logging application, I want to
import our these views.
So I just simply define the logging into the logging app, into the locking app.
I want to import import our views.
Right.
I just simply import our view.
And after that we have to do we have to edit our URL patterns.
I just simply defined as you are Alberton.
So the closer you are to patterns and that you are patterns area.
I have to define our path.
So here I just simply defined the path and this path.
I want to do I want to define here, first of all, I want to work for our home that we see in our home.
I want to load our view based.
So he did idea.
I just said we define our view into the views I have already created.
One of the functions for this one, as I have already created all of the function in our views.
That is our index.
Right.
So I just simply defined that as the index, right?
So after that, all we have to do, we have to define these are partnerships.
I just simply defined that name and I just named this part as an index.
So I just simply named this part as the index I print.
I hope people will understand about it.
And also here, if you want to display it with this part name here, we had to define all of the opinion.
Right.
So we already did.
That work site is simply defined as the app under its good name.
And I just named this as a locking up logging app.
OK, so that will be our name and that is our home.
That means in the home Loteria, I define our views.
So here you can say this is defined as a comma.
It should be an actual comma.
OK, so the views I define our index, so that is our index function and the name I just name it this
part as the index.
Perfect.
So into the viewing area.
So do they want your view function.
I laud our displays of the index today as HTML.
Right.
So don't go to our basic Eurail.
That is the basis TMALL So in our template that are based on the basis that is actually the home.
So for the home here, I want to to define our D-Link.
So here, if you want to display this link, I think you already know about it that will person place
or key will be as you.
All right.
And then here we have to define our app name, our app name.
I have defined as a logging.
Uh, maybe logging.
Yeah, but is the locking up so I have to defining it.
So with this logging app, I want to display our name, our part name I have defined as the index.
Right.
So then it will be as a home.
So now I want to do I want to check it.
OK, so now to check it if you click to save all.
So that's all that possibly you'll find.
I have already discussed about the things we do.
So right now I'm actually doing this again.
So now I want to do and run our project.
So that is our project victory in our second project.
So here better.
I just got it.
OK, I just started and I just make the things from again.
So here they are POSIX so that Jianguo authentication.
We have to go to our changes at the State Assembly, find the change directly with the aim that by the
second project and then if you run that project you have to define as the pie and then Mannis pie and
then run server.
Right.
So no, I just simply run our server.
So here are showing some of that, or you can see that it's actually the part, so that is actually
a spelling mistake, I understand it.
So that is in our locking app that you are.
That means a locking app.
And that is what you ORDELL here you can see that to be actually part.
I have defined the part.
So that is actually the part B at the H, right.
So here I just simply updated the save all.
Yeah, now consists of perfectly running.
So now I have to check it out.
Everything is working or not, I just simply copied it and now go here.
Right now I just remove everything.
So that was our first project.
So now I just simply pissed it.
Yes, you can see it was perfectly, you know, getting our basic HTML into the pages HTML, I lowered
our index, so that is our block position.
I find that index other this is index based.
So now if you go here.
So that is our basic e-mail into the bay.
This and I have already added our success and also I added our neighbor.
You can see our neighbor is perfectly visible and in our bloddy block into the body block area, I loaded
our estimate, the peace index e-mails into the index has the email.
I have definer that this is index based.
So now you can see it's not showing that this is index based.
So now I also want to do I want to access our admins if you want to access that had been done.
First of all, we have to do we have to run our migrate.
Right.
So we have to run this magnet files right now.
I just got it again.
I just refresh it all that middle Savol.
And now I want to migrate it fast because I want to also access our database.
So here we have to change that.
Our victory as a second project.
And now I want to make the decision to migrate then I think you already know about it.
You have to define as a pie and the memories and pie and then the migrate that are simply defined as
a pie, manners by and migrate to enter.
I can see it's not actually adding at all that our database that we sold that are by default database
by the full database, and then we have to do we have to run our second command.
Our second command will be as a by and the man is not pie and then make migration's.
Make migration's an hour locking up, that means the application names I just him to defend his application
name as a logging.
OK, logging underscore app non-contiguous enter.
And also after that, also we have to run out another one, that means the python that the pie man is
by and the mike in to enter.
So there is a record you have to run, as I told you before, so when we successfully migrate all that,
our database Tabin.
So right now, if you want to access that database that we you have to do, we have to create one of
the super user.
Right.
So no one to do and to create all the super users.
I just simply defined as a pie and that man is not pie.
And then the create create super user.
Right.
And make sure the spelling is correct so that the pie and the manners, Torquay and the create and then
the super user.
So no I just click enter.
Now, consistent with our default usernames right now to take this name as Amjad is OK with me, but
I want to save it.
So that was actually our previous one.
So I have already created our second position for the second project.
I want to create another super user.
So now I just simply paste it.
They just simply passed it and also if you click to enter, it will be showing us around the abcess.
That means here, I name it as the admin at Gmail dot com.
And also I will asking for the passwords.
I just simply to password.
Definitely you do me one, two, three, four, five and you do me one, two, three, four, five.
Yeah, now we can see our super user is created successfully.
So now if you want to access your database, that means if you go here, so we have to run our server
again.
So I didn't run this, so I just simply ignored by and the man is dogged by and then run server.
Our server is now running and now I don't want to access it again, so clear the refresh.
And after that, if you want to access that admin, I think you already know about it.
So that is what had been so here it is kind of the same name that is arms out and also defined the password
as you do me.
One, two, three, four, five.
Now because of logging.
Yeah.
Now this successfully now logging.
So now Helfant that is total fresh project.
So here we will create our authentication system.
So friend, I think you already know about it.
So what exactly the things I did on here.
So first of all, I just set up everything that we already did synonymous with you.
Now we are ready to start for our authentication system.
So step by step, everything will be very much clear to you.
So thanks for watching and I will see you in the next video.