1
00:00:00,180 --> 00:00:01,740
Hello, friend, welcome back.

2
00:00:02,130 --> 00:00:05,450
In a previous video, we successfully dialect our album.

3
00:00:05,480 --> 00:00:08,660
So now I want to do I want to do the same things for our artists.

4
00:00:08,660 --> 00:00:10,610
So now to dissect our artists.

5
00:00:10,610 --> 00:00:15,060
So for now, if you want to direct this artist, first of all, we have to define some of the bottom.

6
00:00:15,390 --> 00:00:15,740
Right.

7
00:00:15,750 --> 00:00:19,220
I have to define some of the delay button in our album list.

8
00:00:19,620 --> 00:00:22,350
So after that, I want to add some of the button.

9
00:00:22,360 --> 00:00:25,100
So we have to do we have to go to our album space.

10
00:00:25,470 --> 00:00:27,420
So now go to our album list.

11
00:00:28,080 --> 00:00:30,990
So that is our first tap and the fast tap.

12
00:00:30,990 --> 00:00:32,130
That is our album list.

13
00:00:32,430 --> 00:00:32,780
Right.

14
00:00:33,330 --> 00:00:34,980
Into this album list after this.

15
00:00:34,990 --> 00:00:38,130
OK, so here that is our table.

16
00:00:38,490 --> 00:00:40,470
So after this I take one of the bracket.

17
00:00:41,320 --> 00:00:47,210
So I just simply sorry, I just finished the bracket and after this bracket I pick one of the areas

18
00:00:47,550 --> 00:00:50,370
and here I also want to define on the unclick.

19
00:00:50,370 --> 00:00:52,380
I have already discussed about that things with you.

20
00:00:52,380 --> 00:01:01,560
I want to display one of the unclick JavaScript and the return and the come from return, confirm in

21
00:01:01,700 --> 00:01:03,570
return, confirm a function here.

22
00:01:03,570 --> 00:01:05,340
I want to define our message.

23
00:01:05,340 --> 00:01:09,450
I want to select it as a dialect, like a dialect musician.

24
00:01:11,430 --> 00:01:13,800
So if you are you really want to direct it.

25
00:01:13,800 --> 00:01:18,840
So if you want to direct it, then they have some of the pop up masses, which also will be displayed

26
00:01:18,840 --> 00:01:20,310
with this specific name.

27
00:01:20,640 --> 00:01:23,760
And also for this pattern here, I want to define on the bottom.

28
00:01:24,120 --> 00:01:30,750
So I just simply the front of the class say to somebody from the class has a better and better and better

29
00:01:30,750 --> 00:01:36,750
for that until I use that danger, danger and then and s.m.

30
00:01:38,430 --> 00:01:41,100
So that is one of the most Sharpless I just simply defined.

31
00:01:41,100 --> 00:01:43,800
And then our bottom name will be as a dialect.

32
00:01:44,580 --> 00:01:45,930
I just name it as a dialect.

33
00:01:46,320 --> 00:01:52,500
So now if you click as a Savol and now go to our alonely space, click as a refresh.

34
00:01:52,680 --> 00:01:54,420
Yeah, you can see the bottom.

35
00:01:54,750 --> 00:01:59,850
And also if you click has a consistent showing as a pop up message as a dialect musician.

36
00:01:59,850 --> 00:02:02,760
So if you click is OK, then it will be selected.

37
00:02:03,090 --> 00:02:05,030
So not only have to also put out the action.

38
00:02:05,130 --> 00:02:09,090
So for doing this, we have to do have to create one of the function in our view.

39
00:02:09,090 --> 00:02:13,470
So go to our view base and it the view which will be just like that.

40
00:02:13,470 --> 00:02:19,830
Same because we have already created our main functionalities will be just like the same better I want

41
00:02:19,830 --> 00:02:20,880
to do and copy it.

42
00:02:21,250 --> 00:02:22,610
OK, I just past it.

43
00:02:23,010 --> 00:02:28,740
So here I want to do to create another one of the function as a dialect, not albums, and I want to

44
00:02:28,740 --> 00:02:29,300
change it.

45
00:02:29,400 --> 00:02:36,990
So as a dialect musician, OK, it will be as a dialect musician and also here we have to pass out the

46
00:02:36,990 --> 00:02:38,280
ID, so do that thing.

47
00:02:38,300 --> 00:02:42,690
Sleater and also here we have to define our aspecific get idea.

48
00:02:42,690 --> 00:02:46,380
I also do the things later on into the discussion, into the discussion here.

49
00:02:46,380 --> 00:02:47,810
I define as a dialect.

50
00:02:47,820 --> 00:02:51,000
One of the message ID as a dialect is success.

51
00:02:51,000 --> 00:02:58,130
And I also want to display on the message as a musician the successfully so I just simply defined as

52
00:02:58,140 --> 00:02:58,980
a musician.

53
00:03:01,780 --> 00:03:07,120
OK, musician de successfully this type of massive docilely display and also Hitosugi display I want

54
00:03:07,120 --> 00:03:09,880
to do to define that things in our dialect as Jamaluddin.

55
00:03:09,880 --> 00:03:13,180
If you want to create another new esteemable place, you can create it.

56
00:03:13,510 --> 00:03:18,310
But it's totally OK because here you know the dialect here, I didn't find anything.

57
00:03:18,310 --> 00:03:23,370
I only find one of the idea as a dialect scheme success for our display, our message.

58
00:03:23,710 --> 00:03:25,880
So I just simply defined the same name.

59
00:03:25,900 --> 00:03:28,290
OK, I hope you can all understand about it.

60
00:03:28,300 --> 00:03:31,930
So now we have to do after that we have to create one of the you all for this one.

61
00:03:31,950 --> 00:03:33,850
So now go to that, your Warrell.

62
00:03:34,300 --> 00:03:39,280
And here I just simply copied it and now I just simply paste it.

63
00:03:39,280 --> 00:03:42,530
So here also you have to deflect it with the specific one of the ideas.

64
00:03:42,910 --> 00:03:49,630
So I do this letter and now first of all, I name it as a dialect, our artist and into the view I have

65
00:03:49,630 --> 00:03:51,680
already created on the function.

66
00:03:52,150 --> 00:03:56,380
So in our view, I have created the function name as a dialect musician.

67
00:03:56,380 --> 00:04:01,510
So I just simply copied and now here I name it as our dialect musician.

68
00:04:01,750 --> 00:04:04,830
And also I define that name as a dialect artist.

69
00:04:05,320 --> 00:04:05,680
Right.

70
00:04:06,100 --> 00:04:10,750
So now we have to do we have to define our this, but we have to define out this part in our album.

71
00:04:10,750 --> 00:04:16,740
Mysterio That means here in our Hatif so now I want to pass it.

72
00:04:16,740 --> 00:04:19,620
So I think you already know about what exactly you have to do.

73
00:04:19,660 --> 00:04:21,500
You have to define as a key as you are.

74
00:04:21,520 --> 00:04:22,770
All right.

75
00:04:22,960 --> 00:04:26,950
And then our final step, that means our apt name.

76
00:04:26,950 --> 00:04:30,350
So I define our apt name as a fast step maybe.

77
00:04:32,380 --> 00:04:33,930
Yeah, that is actually the first step.

78
00:04:34,330 --> 00:04:35,790
They just simply copied.

79
00:04:35,800 --> 00:04:41,050
And now in our story into the fast step here, I have to do I have to define our part names.

80
00:04:41,050 --> 00:04:45,100
So I have defined our name in know that you are l that is our name.

81
00:04:45,100 --> 00:04:46,990
I have defined as a dialect artist.

82
00:04:47,290 --> 00:04:47,610
Right.

83
00:04:47,620 --> 00:04:48,970
So I just simply copied.

84
00:04:49,360 --> 00:04:52,330
And now after that I just simply define other direct artist.

85
00:04:52,600 --> 00:04:57,470
And as I told you, also, we have to do we have to deal with a specific one of the idea.

86
00:04:57,500 --> 00:04:57,740
Right.

87
00:04:57,850 --> 00:04:59,780
You can see that is also the idea.

88
00:05:00,070 --> 00:05:03,820
So now we have to add directly to the ideas of what the regions here.

89
00:05:03,830 --> 00:05:06,280
I want to define that as an artist.

90
00:05:07,300 --> 00:05:07,730
OK.

91
00:05:07,770 --> 00:05:10,510
Sorry artist.

92
00:05:10,510 --> 00:05:17,400
I d I just name it as an artist and into this artist idea, we have to also get our specific destabilized

93
00:05:17,410 --> 00:05:17,700
name.

94
00:05:18,130 --> 00:05:25,360
That means if you go to our album, not this album, the musician into the musician, I want to direct

95
00:05:25,360 --> 00:05:28,180
it so that the musician also that have sold the idea.

96
00:05:28,200 --> 00:05:30,420
So we decided I want to direct it.

97
00:05:30,700 --> 00:05:33,030
So that is the idea I have already defined.

98
00:05:33,040 --> 00:05:42,220
If you go to our view and the view here, you know, our artist in the early stages can say just take

99
00:05:42,220 --> 00:05:47,260
our specific ideas, that that means there is a specific idea that I take that things with this our

100
00:05:47,440 --> 00:05:51,460
artist info so no one to do and to defining it.

101
00:05:51,460 --> 00:05:52,620
So I just simply copied.

102
00:05:52,630 --> 00:05:55,760
So from here, that is a musician to be like, get all the data.

103
00:05:55,780 --> 00:06:03,820
So now with this artist info into this artist info on Texas, our I'd to simply define this idea of

104
00:06:03,830 --> 00:06:04,210
reference.

105
00:06:04,210 --> 00:06:05,890
So here that is our idea.

106
00:06:05,890 --> 00:06:07,720
That means that is actually our artist idea.

107
00:06:07,720 --> 00:06:08,540
So this the artist.

108
00:06:08,540 --> 00:06:08,770
I do.

109
00:06:08,770 --> 00:06:12,850
We have to also add in our you all to the Warrell here.

110
00:06:12,850 --> 00:06:19,980
We have to add each side just simply defined that it our I name I have defining it on here as an artist

111
00:06:19,990 --> 00:06:25,120
ideate assembly copyright and now you are IDUs to name it as an artist.

112
00:06:25,750 --> 00:06:28,540
And also we have to add this idea in our request.

113
00:06:28,540 --> 00:06:33,430
That means, in our view, into the view I have created our function, our function name.

114
00:06:33,430 --> 00:06:36,360
I have defined as a direct musician into the request before.

115
00:06:36,370 --> 00:06:39,350
I have already added that idea for our direct album.

116
00:06:39,610 --> 00:06:43,540
So now for our Delek musician, I have to also do the same things.

117
00:06:43,930 --> 00:06:46,090
I just simply define our artist.

118
00:06:46,090 --> 00:06:47,100
I'd like a friend.

119
00:06:47,200 --> 00:06:48,480
So now let's check this out.

120
00:06:48,490 --> 00:06:53,080
If you now click and save all, I just click and save all.

121
00:06:53,080 --> 00:06:58,460
And now if you refresh it now, if you click on the link.

122
00:06:58,540 --> 00:07:05,260
That being said, I want to direct this idea that without this artist dialect, it OK.

123
00:07:05,410 --> 00:07:09,100
And here you can see snowshoeing as a musician deflectors successfully.

124
00:07:09,430 --> 00:07:10,960
So it's not showing on here.

125
00:07:10,960 --> 00:07:13,630
But our musician is not elected because of all here.

126
00:07:13,630 --> 00:07:16,120
I didn't find any code for directed.

127
00:07:16,450 --> 00:07:16,810
Right.

128
00:07:16,990 --> 00:07:19,090
So you only actually doing that thing.

129
00:07:19,090 --> 00:07:24,610
So when you actually put that action is directed to our this director's Tamalpais with this success

130
00:07:24,610 --> 00:07:25,080
message.

131
00:07:25,360 --> 00:07:29,530
So for the reasons for this message is visible, but our data is not directed.

132
00:07:29,860 --> 00:07:33,790
So now here we have to do we have to define of the code for direct this data.

133
00:07:34,030 --> 00:07:35,710
So it'll be just like that same.

134
00:07:35,800 --> 00:07:37,180
But I just copy it.

135
00:07:37,180 --> 00:07:39,610
And here now I want to deflect it.

136
00:07:39,610 --> 00:07:42,130
So I just simply define on here.

137
00:07:42,340 --> 00:07:47,140
So I just simply define the things as the albums and I to do and to change it.

138
00:07:47,140 --> 00:07:49,120
I want to name it as the artist.

139
00:07:50,500 --> 00:07:57,490
Sorry, OK, I just name it as artist and then I want to direct it from unstable, stable and elected

140
00:07:57,490 --> 00:07:59,200
from our model.

141
00:07:59,200 --> 00:07:59,980
If you go to a.

142
00:08:00,060 --> 00:08:06,900
Our model, I want to deflect it from our musician, Devolites, I just simply copied and now here I

143
00:08:06,900 --> 00:08:13,740
define our musician table and musician to be all the all the objects get and the primary key.

144
00:08:13,740 --> 00:08:17,020
I have defined our primary key as the artist ideas.

145
00:08:17,030 --> 00:08:20,910
I just simply define as artist I.D. Each will be deflected right.

146
00:08:21,270 --> 00:08:23,800
So now should be deflected from our musician.

147
00:08:23,830 --> 00:08:28,810
So now if you click as a Savol now first of all, I want to check it.

148
00:08:28,830 --> 00:08:30,270
Everything is well.

149
00:08:30,660 --> 00:08:36,120
And now if you go here like now, if you go to the home, they have the three musicians.

150
00:08:36,120 --> 00:08:40,190
One is the Karzai and our Michael Jackson and the Taylor Swift.

151
00:08:40,350 --> 00:08:40,700
Right.

152
00:08:40,950 --> 00:08:41,700
So no one to do.

153
00:08:41,700 --> 00:08:42,780
I want to reflect it.

154
00:08:42,780 --> 00:08:49,230
Lavie, if you go to our Michael Jackson and hear one thing, as I told you before, I have already

155
00:08:49,230 --> 00:08:55,830
found one of the primary key and also the fact that Kaskade like if you go to our model and the model

156
00:08:55,830 --> 00:08:59,190
here, you can see now it will be very much cooler to you into the artist.

157
00:08:59,190 --> 00:09:05,280
I have defined our model as a foreign key into the musician on Bílek model Kaskade.

158
00:09:05,490 --> 00:09:13,890
That means if we do if you delek this our artist automatically this artist selected all that, our album

159
00:09:13,890 --> 00:09:14,760
will be elected.

160
00:09:15,170 --> 00:09:18,930
OK, so here I have defined this part I show you right now.

161
00:09:18,940 --> 00:09:22,350
I didn't really it like I just saw the dialectically as a dialect.

162
00:09:22,350 --> 00:09:23,730
So that is Michael Jackson.

163
00:09:23,780 --> 00:09:30,480
Click OK now consistent swing as a musician delek that successfully now if you go to home.

164
00:09:31,020 --> 00:09:31,830
Yes.

165
00:09:31,830 --> 00:09:36,210
Now because your friend now our this Michael Jackson is totally gone.

166
00:09:36,210 --> 00:09:41,100
And also Michael Jackson deleted all that album is also gone from here.

167
00:09:41,220 --> 00:09:44,520
OK, so what the results here have defined that cassette model.

168
00:09:44,760 --> 00:09:47,820
So on Delek model, which would be reelected.

169
00:09:47,820 --> 00:09:53,620
So I just simply defined as a cascade that means this musician related all that album also will be deleted.

170
00:09:53,730 --> 00:09:56,550
So now it's totally gone if you go to the database.

171
00:09:57,060 --> 00:09:58,800
So that is our database.

172
00:09:58,800 --> 00:10:03,960
If you click the browse, you can see Michael Jackson is totally gone to one of the idee.

173
00:10:04,560 --> 00:10:07,760
So now if you go anywhere musician sorry.

174
00:10:07,920 --> 00:10:14,040
If you go to that, our album and the album here, you can see they have no artist data as a tool.

175
00:10:14,370 --> 00:10:18,350
So that means all that I did, that I was totally removed from here.

176
00:10:18,510 --> 00:10:20,250
So that is the results.

177
00:10:20,250 --> 00:10:21,450
I have defined that part.

178
00:10:21,720 --> 00:10:23,970
So I think you can well understand about it.

179
00:10:23,970 --> 00:10:24,950
How can do that work?

180
00:10:25,290 --> 00:10:29,010
So now from here you can add new musicians, right?

181
00:10:29,280 --> 00:10:32,310
So you can add musician, you can edit this musician.

182
00:10:32,310 --> 00:10:36,540
If you want to add new album, you can add this new album from here.

183
00:10:36,540 --> 00:10:39,960
And also if you want to get elected, how can they it?

184
00:10:39,960 --> 00:10:43,830
If you want to direct your musician, you can direct this musician.

185
00:10:43,830 --> 00:10:47,820
If you want to direct that musician album, you can also delete this album.

186
00:10:47,970 --> 00:10:49,790
So that is actually the main Cortinas.

187
00:10:49,800 --> 00:10:53,970
That means if you can create this data, you can insert this data into the database.

188
00:10:53,970 --> 00:10:58,020
You can read this data from the database, you can update this data.

189
00:10:58,200 --> 00:11:04,440
And also you can start out with a specific sound, the notification software that is one of the most

190
00:11:04,440 --> 00:11:06,160
important part in Django.

191
00:11:06,180 --> 00:11:11,940
So if you already understand that main chord application, then you can create simple any type of dynamic

192
00:11:11,940 --> 00:11:12,510
website.

193
00:11:12,600 --> 00:11:12,930
Right.

194
00:11:12,930 --> 00:11:19,140
With this concept, you can use out the dynamic website goes into the dynamic set, maximum time, maximum

195
00:11:19,140 --> 00:11:19,440
time.

196
00:11:19,440 --> 00:11:20,940
You have to apply this code.

197
00:11:20,940 --> 00:11:21,270
Right.

198
00:11:21,540 --> 00:11:22,890
So now that is the perfect.

199
00:11:23,040 --> 00:11:28,740
And also in Django, there is another important part that is that user authentication, that means that

200
00:11:28,740 --> 00:11:36,060
users will be able to login, user will be able to log out, users will be able to register some background.

201
00:11:36,240 --> 00:11:41,640
So for citizens, in our next video, I will start a new session is about that authentication.

202
00:11:42,090 --> 00:11:45,990
So can working with the user authentication in our next session.

203
00:11:45,990 --> 00:11:47,010
We really started it.

204
00:11:47,340 --> 00:11:50,670
So thanks for watching and I'll see you in the next video.
