1
00:00:00,240 --> 00:00:05,790
Hello, friend will come back in our previous video, we successfully insert some of the data in our

2
00:00:05,790 --> 00:00:07,440
musicians table, right?

3
00:00:07,620 --> 00:00:12,810
So now if you want to check it in Django, by default, they have one of the building admin panel.

4
00:00:13,020 --> 00:00:19,030
So from to this admin panel, you can read all your data and also if you want to deflect it, if you

5
00:00:19,230 --> 00:00:20,990
can edit everything from here.

6
00:00:21,390 --> 00:00:25,560
So if you want to access this panel, first of all, you have to do right now, we don't need this.

7
00:00:25,560 --> 00:00:26,370
I disclose it.

8
00:00:26,820 --> 00:00:30,380
If you want to find out this admin panel, you have to go to your application.

9
00:00:30,390 --> 00:00:34,110
That means our first application I have created in this first application.

10
00:00:34,110 --> 00:00:35,040
They have the admin.

11
00:00:35,220 --> 00:00:36,870
OK, so now open it.

12
00:00:37,260 --> 00:00:40,760
So now you can see by default one of the lively as they have been on here.

13
00:00:40,770 --> 00:00:46,080
So first of all, we have to do we have to import our two of this model that the model I have already

14
00:00:46,080 --> 00:00:48,020
created in our first application area.

15
00:00:48,030 --> 00:00:52,500
So I have already created to have this model as a our musician and the album.

16
00:00:52,920 --> 00:00:55,430
First of all, we have to do we have to import two of this.

17
00:00:55,800 --> 00:00:59,630
So here in particular, that area I want to do and to import it.

18
00:00:59,630 --> 00:01:06,000
So I just simply defined as a form and from our application name, our application name is a fast app.

19
00:01:06,400 --> 00:01:14,730
So I just simply defined as a fast if I sd underscore app fast app and if it is step, I have defined

20
00:01:14,730 --> 00:01:17,030
our two of this model in our model area.

21
00:01:17,040 --> 00:01:17,370
Right.

22
00:01:17,400 --> 00:01:21,960
So in these models we have to defining each side as simply defined as a fast app and the models.

23
00:01:23,250 --> 00:01:26,220
OK, and then from here I want to do and be imported.

24
00:01:27,000 --> 00:01:33,390
So from here I want to import our two of these tables are to have this class I have defined as a musician

25
00:01:33,390 --> 00:01:34,210
and the album.

26
00:01:34,620 --> 00:01:34,890
Right.

27
00:01:34,920 --> 00:01:41,920
So now we just simply define two of this as a musician and also I have defined as the album.

28
00:01:43,230 --> 00:01:48,720
So to simply define two of this on here and after that we have to do we have to register to have this

29
00:01:48,720 --> 00:01:49,120
model.

30
00:01:49,260 --> 00:01:53,280
So here I have already the import of this model as a musician and the album.

31
00:01:53,400 --> 00:01:55,430
After that, we have to do we have to register it.

32
00:01:55,440 --> 00:01:59,170
You can see they have some also some of the note at the register, your models here.

33
00:01:59,610 --> 00:02:01,380
So here I want to do and register it.

34
00:02:01,400 --> 00:02:03,170
So that is in our admin's.

35
00:02:03,510 --> 00:02:06,840
So it is administratively, I want to define one of the site.

36
00:02:07,110 --> 00:02:14,400
So our site as a register, I want to register our models, our modern name as a musician.

37
00:02:18,520 --> 00:02:26,920
And also, I want to rule out to add another one as an admin at the site and register and register our

38
00:02:26,930 --> 00:02:30,130
another table or another table is album.

39
00:02:30,640 --> 00:02:32,350
So the simply as album.

40
00:02:32,380 --> 00:02:35,020
OK, so here first of all, you have to import it.

41
00:02:35,020 --> 00:02:40,450
So you just simply define imported from our application, our first application, that is our models

42
00:02:40,690 --> 00:02:41,710
and these models.

43
00:02:41,710 --> 00:02:45,210
I have already created two of these so that the musician and the album.

44
00:02:45,520 --> 00:02:49,260
So I just simply import two of these and then I already studied it.

45
00:02:49,300 --> 00:02:53,630
So I just register our musician and also I registered our album.

46
00:02:53,830 --> 00:02:58,510
So now for access, all the data we have to do, we have to create one of the superdad.

47
00:02:59,260 --> 00:03:02,330
If you want to create some of the supervening, have to open your terminal.

48
00:03:02,770 --> 00:03:04,370
So I just opened my terminal.

49
00:03:04,390 --> 00:03:05,780
So that is our first project.

50
00:03:05,800 --> 00:03:10,450
So in particular, that position, if you want to create one of the super I mean, you have to write

51
00:03:10,450 --> 00:03:11,350
on a document.

52
00:03:11,360 --> 00:03:12,370
So here you have to right.

53
00:03:12,370 --> 00:03:21,250
As a python and the python, then the main espie man is dot fi and then you have to define as a create

54
00:03:21,260 --> 00:03:22,060
super user.

55
00:03:23,170 --> 00:03:27,250
I just simply defined to create super user.

56
00:03:27,250 --> 00:03:35,210
So to simply defined as Python Manase Y and the create and the super user and because they enter.

57
00:03:35,650 --> 00:03:38,500
So now you can see by default is putting that username.

58
00:03:38,530 --> 00:03:44,710
So by default my PC name as a I'm just so far there is only snowshoeing as a user name as a Amjed.

59
00:03:44,710 --> 00:03:47,200
So if you want to change that username you can change it.

60
00:03:47,320 --> 00:03:48,860
But right now it's OK with me.

61
00:03:48,880 --> 00:03:53,250
So better to do and to copy it, OK, because it will be needed.

62
00:03:53,250 --> 00:03:54,950
So I just simply paste it on here.

63
00:03:54,970 --> 00:03:57,750
That will be our user name so it's not OK with me.

64
00:03:57,760 --> 00:04:02,470
So now I have to do and click as they enter and after that is putting your email address.

65
00:04:02,500 --> 00:04:07,900
So right now I have to do and to define our one of the email address as a Aryal at the original dot

66
00:04:07,900 --> 00:04:08,310
com.

67
00:04:09,700 --> 00:04:11,740
So this step up, one of the email address.

68
00:04:11,740 --> 00:04:17,880
I have defined Azarian at the original dot com now because it enters and now it's asking for your password.

69
00:04:17,890 --> 00:04:20,680
So right now I to use our password that you do me.

70
00:04:21,370 --> 00:04:21,970
You do me.

71
00:04:21,970 --> 00:04:23,460
One, two, three, four, five.

72
00:04:23,890 --> 00:04:34,060
OK, so better I want to do to save it like Azarian at the rate Gmail dot com and password will be you

73
00:04:34,060 --> 00:04:34,330
do me.

74
00:04:34,330 --> 00:04:35,350
One, two, three, four, five.

75
00:04:35,770 --> 00:04:42,520
OK, so I just simply defining it now as they enter now you can see it's not showing you pre type your

76
00:04:42,520 --> 00:04:43,000
password.

77
00:04:43,000 --> 00:04:44,530
I guess I just simply defined it again.

78
00:04:44,530 --> 00:04:44,790
You do.

79
00:04:44,850 --> 00:04:47,730
One, two, three, four, five as they enter.

80
00:04:48,310 --> 00:04:52,240
So now you can see it's not showing as a super user created successfully.

81
00:04:52,540 --> 00:04:58,300
So not only Fiorente says this, I mean, we want to install that our Jianguo in our inapposite into

82
00:04:58,300 --> 00:05:03,190
the fast project area that have also of that you are so now if you open that the URL here, you can

83
00:05:03,190 --> 00:05:05,250
see by default that have one of the pop.

84
00:05:05,620 --> 00:05:07,960
So that is a as a slash admin.

85
00:05:08,210 --> 00:05:10,680
OK, so that is the path is by default.

86
00:05:10,690 --> 00:05:15,150
So now it should be very much clear to you so that have by default all of the parts or part name as

87
00:05:15,150 --> 00:05:15,670
the admin.

88
00:05:15,670 --> 00:05:20,990
You also know, first of all, I do want to run our server so you hear if you want to run it, I think

89
00:05:21,010 --> 00:05:23,940
you already know about it as a python, right?

90
00:05:23,960 --> 00:05:31,390
Peyton Manning's dart fly and then run server side A simply defined as a python and the manna's fight

91
00:05:31,390 --> 00:05:32,260
and run server.

92
00:05:32,560 --> 00:05:34,240
So don't enter.

93
00:05:34,330 --> 00:05:36,460
So our server will be started.

94
00:05:37,870 --> 00:05:41,480
So now you see our somebody is not a starter, so now I just simply copied.

95
00:05:42,410 --> 00:05:49,050
I just simply copy it and now go to our browser here, I open it because it appears to go.

96
00:05:49,670 --> 00:05:50,730
So that is our place.

97
00:05:51,050 --> 00:05:55,790
So after that, that is actually our you are sorry what it will be.

98
00:05:56,240 --> 00:05:58,640
I mean, I just simply defined fine.

99
00:05:58,930 --> 00:06:00,350
I just do it again.

100
00:06:00,740 --> 00:06:01,460
After that.

101
00:06:01,460 --> 00:06:08,800
I just simply defined as the admin as they enter now is by default redacted to one of the default ones

102
00:06:08,870 --> 00:06:09,730
that have been permitted.

103
00:06:09,740 --> 00:06:12,010
So that is our username and password.

104
00:06:12,320 --> 00:06:16,100
So I have already saved are all the information I have already defined.

105
00:06:16,100 --> 00:06:18,160
Our user name will be as the object.

106
00:06:18,170 --> 00:06:24,380
So I just simply the fact that he was a name as Alinejad and also the password I have defined so far

107
00:06:24,380 --> 00:06:26,990
defined the password as you give me one, two, three, four, five.

108
00:06:27,020 --> 00:06:29,310
So I just simply defining it as a login.

109
00:06:29,870 --> 00:06:30,710
Yes.

110
00:06:30,710 --> 00:06:31,430
Now it is different.

111
00:06:31,440 --> 00:06:33,680
Now we can actually access our admin panel.

112
00:06:33,680 --> 00:06:36,630
So that is one of the building admin panel for the triangle.

113
00:06:36,890 --> 00:06:40,490
So from here you can see I have already created the application.

114
00:06:40,490 --> 00:06:46,160
Our application name is visible as a fast app and with this application I have defined the two of this

115
00:06:46,160 --> 00:06:46,560
table.

116
00:06:46,580 --> 00:06:49,930
One is albums and also that is a musician.

117
00:06:50,270 --> 00:06:54,950
So if you go to that musician into this musician here, you can say, having started to have this data,

118
00:06:54,950 --> 00:06:57,590
that is our Jack Ma and there is a Karzai area.

119
00:06:58,100 --> 00:06:58,640
Perfect.

120
00:06:58,880 --> 00:07:04,190
So from here, if you want to add new musicians, you can add new musicians to this position.

121
00:07:04,190 --> 00:07:08,480
If you want to direct it, you can direct it from to this area.

122
00:07:08,630 --> 00:07:13,610
And also showing our ED option, OK, if you want to change it, if you want to save it automatically

123
00:07:13,650 --> 00:07:14,540
should be updated.

124
00:07:14,870 --> 00:07:19,340
So everything is ready at how much easier it is and how much interactive.

125
00:07:19,340 --> 00:07:23,070
That framework for the resource is really so much popular right now.

126
00:07:23,120 --> 00:07:25,360
I hope you can all understand about it.

127
00:07:25,470 --> 00:07:28,280
Right now we successfully accessed our admin.

128
00:07:28,290 --> 00:07:32,690
So from this position, if you want to create a user, you can create new users.

129
00:07:32,730 --> 00:07:35,660
Right now I have already one of the user name as Amjad.

130
00:07:35,930 --> 00:07:37,580
I just pulled that email address.

131
00:07:37,580 --> 00:07:39,040
And also there is a password, right?

132
00:07:39,410 --> 00:07:40,850
So you've got to create the user.

133
00:07:40,850 --> 00:07:43,000
Then you can create more user friendly disposition.

134
00:07:43,040 --> 00:07:44,450
So right now we're stuck with me.

135
00:07:44,810 --> 00:07:50,240
And also I have created another table that our albums table into this album table.

136
00:07:50,240 --> 00:07:55,940
If you go to that ad albums right now for album stabilized in inside any data and also here you can

137
00:07:55,940 --> 00:07:57,360
say one, the primary keys.

138
00:07:57,360 --> 00:07:58,550
So here, a primary key.

139
00:07:58,550 --> 00:08:04,030
Our we decide IDs automatically getting all that our artist data so automatically is now loaded.

140
00:08:04,030 --> 00:08:06,490
Then there is a name feel the release date.

141
00:08:06,500 --> 00:08:09,080
As for the release date, I have defined the date for it.

142
00:08:09,410 --> 00:08:14,510
Now, it should be very much clear to you to that our models into this model here.

143
00:08:14,510 --> 00:08:20,090
You can see I have defined that our models at the another one that's classed as an album for this one.

144
00:08:20,090 --> 00:08:21,860
I have defined that artist m here.

145
00:08:21,860 --> 00:08:24,130
I defined that foreign key with our musician.

146
00:08:24,590 --> 00:08:30,110
So what the business is now getting are all that the artist you can see still getting all the data and

147
00:08:30,110 --> 00:08:32,630
then I just define another filename as a name.

148
00:08:32,630 --> 00:08:38,840
The release date is defined as our type will be as a date file type and number of stars.

149
00:08:38,840 --> 00:08:42,550
So everything is done perfectly on here, OK.

150
00:08:43,070 --> 00:08:46,750
So you step by step, we will do a lot of work in particular that position.

151
00:08:46,760 --> 00:08:49,600
So don't worry, everything will be very much clear to you.

152
00:08:50,030 --> 00:08:51,590
So thanks for watching.

153
00:08:51,590 --> 00:08:53,330
I will see you in the next video.
