Hello, friend, welcome back.
In a previous video here, we successfully complete our model, so here I define all that our models.
So that is all the model I have created and that is all that class.
So now I want to do I want to, first of all, register started and after that register, I want to
migrate it.
So if you want to register it, then in our app logging so better, first of all, save it and allow
it to go to the app, log into the app logging that our admin, that means that bindert by and the admin
by area.
First of all, here we have to define our models that are from in our app underscored logging and from
the live blogging there is a model.
So from here and then in our class as a user class and also I to import our profile, OK, and both
our profile plus.
So that is the class I have already created in our models area and after that we have to register it.
So here I just simply as the admin and then side and then register resistor and then our user and also
there is another one of the admin and then site and then register and that will be as a profile.
OK, so that will be as a profile.
And also here we change our default one right here we change our default user.
That means this user.
So now we have to do we have to actually also indicated.
So we have indicated in our my that is our main project, go to the setting, do the sitting area,
sort of the place you want.
So I know better after this.
OK, after this here I want to do a the of the custom user model, but I want to put some of the note
for you, which will be as a custom user model.
OK, so here we have two defining it.
So it will be as it all underscore the user because here we change it.
So that will be as a model.
And this model here I have defined so in our app, logging into the app and then logging into the app,
logging that will be our user.
That is our customer.
User.
Right.
So I just simply defending it.
Make that sure you add that part.
OK, so now let's check this out.
I wanted to turn to magnetised, so if we get any at all in particular, that derivates will be displayed.
Don't worry about it.
So now here I want to turn to open and just close it.
I open a new terminal and now here we have to run our market.
And here we don't need to pretend that our PSP menaced by magnets.
So here we have to, first of all, run with our Mapai.
And that man has got by and then make migration's.
I can make migration's and then our app underscore Logi.
OK, so here I am to do a defining it so that they are Pyinmana spy and the migration's our app login
to enter.
And you can see Snowshoeing, Syntex, Syntex or so that is in our models, the models, that is our
tango dispatch in port.
OK, so here we define some the wrong.
So that is the import you can see I didn't define that import, that was a spot in front of the dispatch
here.
We have to do we have to defend that receiver.
So we actually maybe it's gone from here.
So you have to have to defend that receiver.
OK, just simply the receiver, maybe actually Khateeb.
OK, maybe I got it from here.
So what evidence is gone from this position because of all here?
I have already use it, right.
So I have already used that receiver.
You can see that the receiver maybe actually got it from here for the reasons is gone.
So now let's check this out.
I just click, as I say.
Well, again, nothing to do and to run again.
That is five minutes by Migration's and the app login click as they enter.
And also still showing another door that is also in our models, there is an extra field and said default
that is out to the six line.
So as I told you, if you get any error, don't worry about it, we'll solve it so that Misener 26,
that extra field feels to here, that is actually our function here.
We have to do we have to make that all the things in our functional area.
So I just simply defining it, OK?
So I just simply defending it on here.
Now to that again together Savol and defined by Wednesday by migration app login click of the enter.
And also is getting another one that we already done, self producer, that is 34, so that means so
there is a written self, so showing is written self.
Buzard, this seen as a return outside that function.
That means that this is actually our function.
OK, so here actually that is actually a function we have to do.
We have to make that inside the function area.
That means right now that is actually more functional area.
And then also there is even another one.
Now, let's check this out.
So here, actually, that is, you know, our functionality.
So now we have to do have to pass it in our dysfunction position, OK?
So now I just get to save all.
Run it again.
Enter.
Yes, now see of perfectly getting out of this as a create model user and also the model profile, and
after that we have to do we have to migrate it.
So I just simply defined as a pie and that man is not pie and that my grid.
No click, enter.
Now, he is not perfectly migrating all that or that of a stable and now I want to do want to create
one of the super user, that means here, if you want to create some of the super user, then what exactly
you have to do?
We have to defend the pie.
And that man is not pie.
And then and then to create super user, create super user.
OK, so I just simply defined as a create and then super user as they enter now considering before that
was actually asking for the user name.
But right now, as I told you, we customize it.
Now here you can see it's still asking for our email, not the user name.
Right.
So now I just name it as the admin at the red Gmail dot com because the enter and the password I defined
as you do me.
One, two, three, four, five.
You do me.
One, two, three, four, five.
Please enter.
Yes you can see our supah that is our super user created successfully so now one to do unto to run our
server as a pie and that manager by and then run server because they enter.
So now that is our servers and want do in Texas, our admin, no, go to our site here at Penn State
and redacted our admin.
Now, in particular, that position I want to do I want to add our email address, you can see here
it's not showing that user names right now, showing our email address and the password, I hope you
can well understand about it.
You can see we just changed our total default system, that default authentication system.
So right now, I'm using that email.
So I just simply defined that email as the admin at the original dot com and then password you remove
one, two, three, four, five login.
Yeah, you can see now you can successfully logged in in our admin area and that Benadir, that is our
profile and that is our user.
So if you go to that our profile and you can see into the profile area that is our players profile.
So that is the things we have defined.
So right now, if you go here.
So in particular, that position I show you now, it should be very muscular to see what exactly the
things are defined.
So you do the profile.
You can see there is all that or feel and hear after that is name, which will be added to its profile.
Right.
So for the reasons you can see, it's not showing us its profile.
So now if you go to our app profile area or if you change it like here, I want to do and define some
of the user name right now.
And I just define that user name Azarian right now.
OK, I distinctly defined as the Arion.
You will see this, all that or feel that a user name that is the full name, the address, the city,
the deep code, the country phone, everything is now perfectly getting on here.
So now I do find another one of that user name, Azarian, not the safe now consistent showing as the
audience profile.
Right.
And also, if you go to the user, that means that is the user and the user.
You can see the recruiter and now showing only that email address.
That means if you open it now, it should be very much interactive to you.
So here you can see that is actually Millfield here.
I have defined two of these were established status and that is the active.
So now if you go to our site here, I have defined that field.
You can see that this stuff is status.
And the study that we show some of the help desks and that is actually the Help Desk and now consist
of showing our this help next on here.
And also I have defined another one as active.
So that is actually another one as active.
And for the active, that is our Help Desk.
And this help desk is now visible in particular that area.
OK, and also here inside the find that things that in this field as ebullient.
So for the reasons you can see, I define that.
Valliant So that is our field.
I have defined fairly consider as it is active, is active as a boolean field and also for our stuff
status I define as a bully and field.
So for the reasons you consider the global right now, if you want to check it, you can check mark
it.
If you don't check, they're going to uncheck market.
OK, and also you can see it's not showing us the email, but they have no user fast name, last name.
Right.
By default or in our previous all that session, I have already discussed about the things we do for
a new lockdown we get with this user.
We get some of the external tank, the field as a user name field, password field.
And then also we get that first name, last name.
So right now you can see it's totally customized.
So here I we created this customization with our this model.
So that is actually our model.
OK, friend.
So now I think it should be very much to use or for doing this here.
You have to actually defining that part.
So it's not perfect.
So everything is perfectly visible.
So that is already stuffies status.
If you also want to change that name, you can change it.
As I told you, everything actually comes from our disposition.
OK, so here you can see that this stuff is status.
So I don't if you will be knocking together Savol.
Now, if you refresh it.
Now we'll see someone showing that Estévez, OK, so we here we successfully customize our user, that
means our admin user.
And also I added another field as a profile.
So, you know, next video I want to do, want to work for our sign up and fast and then step by step,
we go more deep and we'll create one of the commercial project.
So thanks for watching.
I'll see you in the next video.