1
00:00:00,210 --> 00:00:01,860
Hello, friend, welcome back.

2
00:00:02,190 --> 00:00:08,330
In a previous video here, we successfully complete our model, so here I define all that our models.

3
00:00:08,700 --> 00:00:12,910
So that is all the model I have created and that is all that class.

4
00:00:13,200 --> 00:00:18,390
So now I want to do I want to, first of all, register started and after that register, I want to

5
00:00:18,390 --> 00:00:19,070
migrate it.

6
00:00:19,070 --> 00:00:24,720
So if you want to register it, then in our app logging so better, first of all, save it and allow

7
00:00:24,720 --> 00:00:30,840
it to go to the app, log into the app logging that our admin, that means that bindert by and the admin

8
00:00:31,050 --> 00:00:31,650
by area.

9
00:00:31,650 --> 00:00:40,170
First of all, here we have to define our models that are from in our app underscored logging and from

10
00:00:40,260 --> 00:00:42,020
the live blogging there is a model.

11
00:00:42,050 --> 00:00:51,960
So from here and then in our class as a user class and also I to import our profile, OK, and both

12
00:00:51,960 --> 00:00:52,850
our profile plus.

13
00:00:53,190 --> 00:00:58,140
So that is the class I have already created in our models area and after that we have to register it.

14
00:00:58,160 --> 00:01:09,480
So here I just simply as the admin and then side and then register resistor and then our user and also

15
00:01:09,480 --> 00:01:17,730
there is another one of the admin and then site and then register and that will be as a profile.

16
00:01:19,010 --> 00:01:20,640
OK, so that will be as a profile.

17
00:01:21,000 --> 00:01:26,510
And also here we change our default one right here we change our default user.

18
00:01:26,520 --> 00:01:27,660
That means this user.

19
00:01:27,670 --> 00:01:31,770
So now we have to do we have to actually also indicated.

20
00:01:31,890 --> 00:01:39,090
So we have indicated in our my that is our main project, go to the setting, do the sitting area,

21
00:01:39,330 --> 00:01:41,100
sort of the place you want.

22
00:01:41,460 --> 00:01:43,820
So I know better after this.

23
00:01:43,830 --> 00:01:50,160
OK, after this here I want to do a the of the custom user model, but I want to put some of the note

24
00:01:50,160 --> 00:01:54,270
for you, which will be as a custom user model.

25
00:01:54,780 --> 00:01:57,150
OK, so here we have two defining it.

26
00:01:57,150 --> 00:02:01,650
So it will be as it all underscore the user because here we change it.

27
00:02:01,660 --> 00:02:02,940
So that will be as a model.

28
00:02:03,240 --> 00:02:11,070
And this model here I have defined so in our app, logging into the app and then logging into the app,

29
00:02:11,070 --> 00:02:13,080
logging that will be our user.

30
00:02:13,080 --> 00:02:13,950
That is our customer.

31
00:02:13,950 --> 00:02:14,220
User.

32
00:02:14,220 --> 00:02:14,510
Right.

33
00:02:14,940 --> 00:02:16,530
So I just simply defending it.

34
00:02:16,530 --> 00:02:18,430
Make that sure you add that part.

35
00:02:18,480 --> 00:02:19,980
OK, so now let's check this out.

36
00:02:19,990 --> 00:02:26,130
I wanted to turn to magnetised, so if we get any at all in particular, that derivates will be displayed.

37
00:02:26,160 --> 00:02:27,140
Don't worry about it.

38
00:02:27,450 --> 00:02:32,400
So now here I want to turn to open and just close it.

39
00:02:32,850 --> 00:02:37,870
I open a new terminal and now here we have to run our market.

40
00:02:38,100 --> 00:02:42,070
And here we don't need to pretend that our PSP menaced by magnets.

41
00:02:42,080 --> 00:02:45,240
So here we have to, first of all, run with our Mapai.

42
00:02:45,660 --> 00:02:49,320
And that man has got by and then make migration's.

43
00:02:50,610 --> 00:02:55,560
I can make migration's and then our app underscore Logi.

44
00:02:56,370 --> 00:03:03,020
OK, so here I am to do a defining it so that they are Pyinmana spy and the migration's our app login

45
00:03:03,360 --> 00:03:04,020
to enter.

46
00:03:05,810 --> 00:03:12,650
And you can see Snowshoeing, Syntex, Syntex or so that is in our models, the models, that is our

47
00:03:12,650 --> 00:03:15,200
tango dispatch in port.

48
00:03:15,230 --> 00:03:18,830
OK, so here we define some the wrong.

49
00:03:20,380 --> 00:03:27,280
So that is the import you can see I didn't define that import, that was a spot in front of the dispatch

50
00:03:27,280 --> 00:03:27,520
here.

51
00:03:27,530 --> 00:03:29,700
We have to do we have to defend that receiver.

52
00:03:29,710 --> 00:03:32,970
So we actually maybe it's gone from here.

53
00:03:33,370 --> 00:03:35,530
So you have to have to defend that receiver.

54
00:03:37,810 --> 00:03:40,690
OK, just simply the receiver, maybe actually Khateeb.

55
00:03:40,720 --> 00:03:43,150
OK, maybe I got it from here.

56
00:03:43,180 --> 00:03:46,930
So what evidence is gone from this position because of all here?

57
00:03:46,930 --> 00:03:48,360
I have already use it, right.

58
00:03:48,790 --> 00:03:50,610
So I have already used that receiver.

59
00:03:50,650 --> 00:03:54,640
You can see that the receiver maybe actually got it from here for the reasons is gone.

60
00:03:55,060 --> 00:03:56,190
So now let's check this out.

61
00:03:56,200 --> 00:03:57,130
I just click, as I say.

62
00:03:57,130 --> 00:04:01,120
Well, again, nothing to do and to run again.

63
00:04:01,510 --> 00:04:06,370
That is five minutes by Migration's and the app login click as they enter.

64
00:04:08,340 --> 00:04:15,090
And also still showing another door that is also in our models, there is an extra field and said default

65
00:04:15,270 --> 00:04:16,980
that is out to the six line.

66
00:04:18,730 --> 00:04:25,420
So as I told you, if you get any error, don't worry about it, we'll solve it so that Misener 26,

67
00:04:25,420 --> 00:04:29,560
that extra field feels to here, that is actually our function here.

68
00:04:29,570 --> 00:04:32,930
We have to do we have to make that all the things in our functional area.

69
00:04:33,460 --> 00:04:36,370
So I just simply defining it, OK?

70
00:04:36,400 --> 00:04:38,390
So I just simply defending it on here.

71
00:04:39,170 --> 00:04:48,010
Now to that again together Savol and defined by Wednesday by migration app login click of the enter.

72
00:04:49,470 --> 00:04:58,110
And also is getting another one that we already done, self producer, that is 34, so that means so

73
00:04:58,110 --> 00:05:01,890
there is a written self, so showing is written self.

74
00:05:01,890 --> 00:05:06,650
Buzard, this seen as a return outside that function.

75
00:05:06,660 --> 00:05:09,750
That means that this is actually our function.

76
00:05:09,810 --> 00:05:13,890
OK, so here actually that is actually a function we have to do.

77
00:05:13,890 --> 00:05:16,280
We have to make that inside the function area.

78
00:05:16,320 --> 00:05:18,780
That means right now that is actually more functional area.

79
00:05:19,380 --> 00:05:23,730
And then also there is even another one.

80
00:05:25,290 --> 00:05:26,350
Now, let's check this out.

81
00:05:26,370 --> 00:05:28,650
So here, actually, that is, you know, our functionality.

82
00:05:28,690 --> 00:05:32,650
So now we have to do have to pass it in our dysfunction position, OK?

83
00:05:33,540 --> 00:05:36,060
So now I just get to save all.

84
00:05:37,430 --> 00:05:38,690
Run it again.

85
00:05:39,550 --> 00:05:40,330
Enter.

86
00:05:41,860 --> 00:05:48,790
Yes, now see of perfectly getting out of this as a create model user and also the model profile, and

87
00:05:48,790 --> 00:05:50,670
after that we have to do we have to migrate it.

88
00:05:50,680 --> 00:05:56,260
So I just simply defined as a pie and that man is not pie and that my grid.

89
00:05:57,610 --> 00:05:58,990
No click, enter.

90
00:06:00,760 --> 00:06:06,790
Now, he is not perfectly migrating all that or that of a stable and now I want to do want to create

91
00:06:06,790 --> 00:06:11,630
one of the super user, that means here, if you want to create some of the super user, then what exactly

92
00:06:11,630 --> 00:06:12,050
you have to do?

93
00:06:12,050 --> 00:06:13,360
We have to defend the pie.

94
00:06:13,360 --> 00:06:15,850
And that man is not pie.

95
00:06:15,850 --> 00:06:22,600
And then and then to create super user, create super user.

96
00:06:22,750 --> 00:06:30,340
OK, so I just simply defined as a create and then super user as they enter now considering before that

97
00:06:30,340 --> 00:06:32,680
was actually asking for the user name.

98
00:06:32,680 --> 00:06:35,760
But right now, as I told you, we customize it.

99
00:06:35,770 --> 00:06:40,030
Now here you can see it's still asking for our email, not the user name.

100
00:06:40,030 --> 00:06:40,340
Right.

101
00:06:40,660 --> 00:06:48,760
So now I just name it as the admin at the red Gmail dot com because the enter and the password I defined

102
00:06:48,760 --> 00:06:49,420
as you do me.

103
00:06:49,420 --> 00:06:50,910
One, two, three, four, five.

104
00:06:52,030 --> 00:06:52,960
You do me.

105
00:06:52,990 --> 00:06:54,350
One, two, three, four, five.

106
00:06:54,350 --> 00:06:55,280
Please enter.

107
00:06:56,050 --> 00:07:02,200
Yes you can see our supah that is our super user created successfully so now one to do unto to run our

108
00:07:02,200 --> 00:07:10,930
server as a pie and that manager by and then run server because they enter.

109
00:07:13,110 --> 00:07:20,910
So now that is our servers and want do in Texas, our admin, no, go to our site here at Penn State

110
00:07:20,910 --> 00:07:22,530
and redacted our admin.

111
00:07:25,130 --> 00:07:30,350
Now, in particular, that position I want to do I want to add our email address, you can see here

112
00:07:30,350 --> 00:07:36,200
it's not showing that user names right now, showing our email address and the password, I hope you

113
00:07:36,200 --> 00:07:37,530
can well understand about it.

114
00:07:37,580 --> 00:07:42,840
You can see we just changed our total default system, that default authentication system.

115
00:07:43,160 --> 00:07:44,900
So right now, I'm using that email.

116
00:07:44,900 --> 00:07:53,800
So I just simply defined that email as the admin at the original dot com and then password you remove

117
00:07:53,830 --> 00:07:56,380
one, two, three, four, five login.

118
00:07:57,230 --> 00:08:03,260
Yeah, you can see now you can successfully logged in in our admin area and that Benadir, that is our

119
00:08:03,260 --> 00:08:05,040
profile and that is our user.

120
00:08:05,080 --> 00:08:11,080
So if you go to that our profile and you can see into the profile area that is our players profile.

121
00:08:11,090 --> 00:08:14,100
So that is the things we have defined.

122
00:08:14,600 --> 00:08:17,540
So right now, if you go here.

123
00:08:17,720 --> 00:08:24,020
So in particular, that position I show you now, it should be very muscular to see what exactly the

124
00:08:24,020 --> 00:08:24,800
things are defined.

125
00:08:24,810 --> 00:08:25,850
So you do the profile.

126
00:08:25,850 --> 00:08:31,530
You can see there is all that or feel and hear after that is name, which will be added to its profile.

127
00:08:31,550 --> 00:08:31,890
Right.

128
00:08:32,210 --> 00:08:34,640
So for the reasons you can see, it's not showing us its profile.

129
00:08:34,680 --> 00:08:40,730
So now if you go to our app profile area or if you change it like here, I want to do and define some

130
00:08:40,730 --> 00:08:41,900
of the user name right now.

131
00:08:42,650 --> 00:08:45,440
And I just define that user name Azarian right now.

132
00:08:45,500 --> 00:08:47,560
OK, I distinctly defined as the Arion.

133
00:08:47,930 --> 00:08:53,000
You will see this, all that or feel that a user name that is the full name, the address, the city,

134
00:08:53,240 --> 00:08:57,440
the deep code, the country phone, everything is now perfectly getting on here.

135
00:08:57,770 --> 00:09:04,610
So now I do find another one of that user name, Azarian, not the safe now consistent showing as the

136
00:09:04,610 --> 00:09:05,780
audience profile.

137
00:09:05,970 --> 00:09:06,320
Right.

138
00:09:07,100 --> 00:09:12,080
And also, if you go to the user, that means that is the user and the user.

139
00:09:12,080 --> 00:09:15,740
You can see the recruiter and now showing only that email address.

140
00:09:15,740 --> 00:09:20,220
That means if you open it now, it should be very much interactive to you.

141
00:09:20,240 --> 00:09:22,700
So here you can see that is actually Millfield here.

142
00:09:22,700 --> 00:09:26,870
I have defined two of these were established status and that is the active.

143
00:09:27,230 --> 00:09:31,190
So now if you go to our site here, I have defined that field.

144
00:09:31,760 --> 00:09:33,500
You can see that this stuff is status.

145
00:09:33,500 --> 00:09:39,020
And the study that we show some of the help desks and that is actually the Help Desk and now consist

146
00:09:39,020 --> 00:09:41,140
of showing our this help next on here.

147
00:09:41,420 --> 00:09:44,170
And also I have defined another one as active.

148
00:09:44,540 --> 00:09:47,090
So that is actually another one as active.

149
00:09:47,090 --> 00:09:49,460
And for the active, that is our Help Desk.

150
00:09:49,460 --> 00:09:53,460
And this help desk is now visible in particular that area.

151
00:09:53,730 --> 00:09:58,360
OK, and also here inside the find that things that in this field as ebullient.

152
00:09:58,790 --> 00:10:01,250
So for the reasons you can see, I define that.

153
00:10:01,250 --> 00:10:04,790
Valliant So that is our field.

154
00:10:04,790 --> 00:10:11,680
I have defined fairly consider as it is active, is active as a boolean field and also for our stuff

155
00:10:11,880 --> 00:10:13,780
status I define as a bully and field.

156
00:10:14,060 --> 00:10:18,410
So for the reasons you consider the global right now, if you want to check it, you can check mark

157
00:10:18,410 --> 00:10:18,590
it.

158
00:10:18,590 --> 00:10:20,980
If you don't check, they're going to uncheck market.

159
00:10:20,990 --> 00:10:27,650
OK, and also you can see it's not showing us the email, but they have no user fast name, last name.

160
00:10:27,650 --> 00:10:28,070
Right.

161
00:10:28,080 --> 00:10:32,700
By default or in our previous all that session, I have already discussed about the things we do for

162
00:10:32,700 --> 00:10:35,210
a new lockdown we get with this user.

163
00:10:35,210 --> 00:10:39,890
We get some of the external tank, the field as a user name field, password field.

164
00:10:40,190 --> 00:10:43,110
And then also we get that first name, last name.

165
00:10:43,130 --> 00:10:45,500
So right now you can see it's totally customized.

166
00:10:45,590 --> 00:10:50,480
So here I we created this customization with our this model.

167
00:10:50,480 --> 00:10:51,990
So that is actually our model.

168
00:10:52,010 --> 00:10:52,650
OK, friend.

169
00:10:53,180 --> 00:10:58,490
So now I think it should be very much to use or for doing this here.

170
00:10:58,490 --> 00:11:00,350
You have to actually defining that part.

171
00:11:00,500 --> 00:11:01,590
So it's not perfect.

172
00:11:01,880 --> 00:11:04,190
So everything is perfectly visible.

173
00:11:04,190 --> 00:11:05,510
So that is already stuffies status.

174
00:11:05,510 --> 00:11:08,060
If you also want to change that name, you can change it.

175
00:11:08,060 --> 00:11:11,000
As I told you, everything actually comes from our disposition.

176
00:11:11,030 --> 00:11:13,520
OK, so here you can see that this stuff is status.

177
00:11:13,530 --> 00:11:17,210
So I don't if you will be knocking together Savol.

178
00:11:18,220 --> 00:11:20,100
Now, if you refresh it.

179
00:11:22,140 --> 00:11:28,020
Now we'll see someone showing that Estévez, OK, so we here we successfully customize our user, that

180
00:11:28,020 --> 00:11:29,330
means our admin user.

181
00:11:29,340 --> 00:11:32,000
And also I added another field as a profile.

182
00:11:32,370 --> 00:11:37,620
So, you know, next video I want to do, want to work for our sign up and fast and then step by step,

183
00:11:37,620 --> 00:11:40,780
we go more deep and we'll create one of the commercial project.

184
00:11:41,010 --> 00:11:42,520
So thanks for watching.

185
00:11:42,540 --> 00:11:44,220
I'll see you in the next video.
