1
00:00:00,210 --> 00:00:01,800
Hello, friend, welcome back.

2
00:00:02,040 --> 00:00:05,680
In a previous video, we successfully created two of this table.

3
00:00:05,700 --> 00:00:08,850
One is the category and the other one is actually the product.

4
00:00:09,120 --> 00:00:11,310
And also after that, we migrated.

5
00:00:11,310 --> 00:00:11,610
Right.

6
00:00:11,850 --> 00:00:14,610
So now we have to do we have to visible all that our data.

7
00:00:14,620 --> 00:00:16,960
That means the category data and the product data.

8
00:00:16,980 --> 00:00:20,290
So for doing this, we have to work in our app shop into The View.

9
00:00:20,700 --> 00:00:22,080
So here we have to work.

10
00:00:22,080 --> 00:00:22,400
Right.

11
00:00:22,710 --> 00:00:24,000
So now we don't need this.

12
00:00:24,000 --> 00:00:27,210
I just simply removed the reservoir profile chains.

13
00:00:27,270 --> 00:00:28,410
Also, you don't need this.

14
00:00:28,980 --> 00:00:31,950
I just simply remove everything from here to now.

15
00:00:31,950 --> 00:00:36,720
In your view, first of all, here on the ground to work with our class view function.

16
00:00:36,740 --> 00:00:39,790
So if you want to use that cloud view, I think you already know about it.

17
00:00:39,810 --> 00:00:45,180
So first of all, here we have to do we have to load out all the clouds, view that material to throw

18
00:00:45,180 --> 00:00:48,030
all that out, or at least view data and the details of your data.

19
00:00:48,390 --> 00:00:52,030
So if you want to defining it so from so from our Django.

20
00:00:52,740 --> 00:00:55,230
So from the Django, the views.

21
00:00:55,230 --> 00:01:01,590
And then also there is a generic front with a genetic we have to do we have the input, we have to input

22
00:01:01,590 --> 00:01:02,660
our older view class.

23
00:01:02,670 --> 00:01:04,310
So that is the lowest class.

24
00:01:04,740 --> 00:01:11,760
So I just simply defined the list view and also another one of the details view for details, let us

25
00:01:12,070 --> 00:01:13,400
show all that our base.

26
00:01:13,410 --> 00:01:15,150
So I just simply definitely does view.

27
00:01:15,180 --> 00:01:20,370
OK, so here I have loaded all the third class and now also we have to do have to add our model.

28
00:01:20,370 --> 00:01:26,510
So modelling from from our app shop app underscore shop.

29
00:01:28,810 --> 00:01:31,900
So from our app shop here, there is our model.

30
00:01:31,940 --> 00:01:35,010
So into the model and want to take our this product class.

31
00:01:35,040 --> 00:01:38,760
OK, so here I want to show us, first of all, all that our product.

32
00:01:39,090 --> 00:01:46,020
So that is our in our app shop and the models and from here and the input our product class.

33
00:01:46,140 --> 00:01:49,200
OK, so now what to do and to create the class view.

34
00:01:49,200 --> 00:01:50,540
I think you already know about it.

35
00:01:50,550 --> 00:01:53,950
So just simplify the class and I name it as a home.

36
00:01:54,080 --> 00:01:58,310
OK, and here I want to do and to load our this list view class.

37
00:01:58,830 --> 00:02:00,860
So here I just simply define our lives view.

38
00:02:01,350 --> 00:02:05,520
So when I think you already know about it because we did that work before.

39
00:02:05,550 --> 00:02:09,650
So now with this model, OK, with this model here, we have to define our models.

40
00:02:09,660 --> 00:02:16,140
I define our model as a product so that we are product model and then also want to do the load on the

41
00:02:16,140 --> 00:02:23,310
pace for the regions here in the definition of the template, name, template, underscore name and

42
00:02:23,460 --> 00:02:26,230
also in our um.

43
00:02:26,640 --> 00:02:32,060
I have already created one of the folder in our app shops into their very own to do and to create on

44
00:02:32,160 --> 00:02:32,760
the file.

45
00:02:33,180 --> 00:02:39,630
Here I create the new file and I just name it as a form of not SDM.

46
00:02:39,960 --> 00:02:43,250
OK, so now I want to do want to define that name.

47
00:02:43,260 --> 00:02:49,610
So here it shall be in our app, you know, app shop into the app shop is will be as a home dot SDM.

48
00:02:51,870 --> 00:02:53,520
So just simply defined as a home address.

49
00:02:54,090 --> 00:02:55,800
So now we have to work in our home.

50
00:02:56,490 --> 00:02:57,510
So now go to our home.

51
00:02:57,510 --> 00:03:01,950
That is Temel and here we have to load and all that, our basic things.

52
00:03:02,250 --> 00:03:10,010
So first of all, we extend, OK, that we extend extends our basic HTML.

53
00:03:11,040 --> 00:03:16,180
So just simply defined as the basis HTML and then also we have to define the block.

54
00:03:17,460 --> 00:03:26,020
So I just simply defined that our blog, some block will be as a body block body and risk a block.

55
00:03:26,040 --> 00:03:28,370
And also we have to do we have to finish that block.

56
00:03:29,190 --> 00:03:31,650
So just simply finish that block.

57
00:03:32,610 --> 00:03:34,290
OK, I just simply finish that block.

58
00:03:35,150 --> 00:03:41,080
That means that and block so to simply defend and block perfect, so now I want to do and the visibility

59
00:03:41,080 --> 00:03:43,060
with our using the for loop.

60
00:03:43,070 --> 00:03:48,590
So here I define that as a four and a name with the product.

61
00:03:49,680 --> 00:03:55,880
OK, just name it with the product and even and from here you can see I didn't find any, any object,

62
00:03:55,880 --> 00:03:57,970
but here I'm using that all these views.

63
00:03:57,970 --> 00:04:02,930
So if you use that leaves you is providing by the following of the name as the object list.

64
00:04:02,960 --> 00:04:06,220
OK, so you can actually also defining that with the object list.

65
00:04:06,440 --> 00:04:13,310
So I just simply name it as an object with this object list you can define so you don't need to pass

66
00:04:13,310 --> 00:04:17,270
any object foris aspecific for this space automatically.

67
00:04:17,300 --> 00:04:17,970
Shall we get it.

68
00:04:18,030 --> 00:04:21,440
OK, so with this object list I take that things with this product.

69
00:04:21,660 --> 00:04:24,680
So now with this product we can actually access all the Darfield.

70
00:04:24,680 --> 00:04:24,960
Right.

71
00:04:25,310 --> 00:04:28,910
So now first of all, I want to do I want to end it.

72
00:04:29,510 --> 00:04:31,810
That means I want to end our four.

73
00:04:33,200 --> 00:04:38,350
So that is our end for and here I want to display our product details.

74
00:04:38,690 --> 00:04:42,060
So now if you want to display that means with this product.

75
00:04:42,080 --> 00:04:46,600
So with this product, you can display whatever the feel you want to display.

76
00:04:46,610 --> 00:04:46,930
Right.

77
00:04:46,940 --> 00:04:52,670
Right now in the model area, I have defined the filename as Ismay's name category.

78
00:04:52,700 --> 00:04:54,970
OK, so now I just want to show that name.

79
00:04:55,430 --> 00:04:56,830
So I just simply copied.

80
00:04:57,170 --> 00:05:01,700
And now here, here, I want to define that with this product.

81
00:05:01,710 --> 00:05:03,000
I want to access our name.

82
00:05:03,020 --> 00:05:04,040
That means a product name.

83
00:05:04,460 --> 00:05:04,650
OK.

84
00:05:05,030 --> 00:05:06,770
I hope is very much clear to you.

85
00:05:06,920 --> 00:05:10,430
So now for this homepage, we have to we have to also create one of the.

86
00:05:11,360 --> 00:05:13,730
So in our app shop application.

87
00:05:13,730 --> 00:05:14,240
Go to that.

88
00:05:14,240 --> 00:05:16,160
Are you what else into the what else.

89
00:05:16,160 --> 00:05:22,340
I have already loaded our part and there is a view and also here I define that name, app name as the

90
00:05:22,340 --> 00:05:22,980
app shop.

91
00:05:23,300 --> 00:05:25,580
So now I want to do it on the part.

92
00:05:26,720 --> 00:05:30,290
So I just simply define the part and part will be our home directly.

93
00:05:30,290 --> 00:05:31,430
I want to visible it.

94
00:05:32,030 --> 00:05:33,770
So that is our views.

95
00:05:33,800 --> 00:05:40,730
So with these views here, I have already created in our views area of the class function that is a

96
00:05:40,730 --> 00:05:42,090
view class as a home.

97
00:05:42,110 --> 00:05:47,060
So now I want to use it so that you the views that is our home.

98
00:05:47,780 --> 00:05:50,880
And also here you have to define it as underscore view.

99
00:05:50,900 --> 00:05:51,320
Right.

100
00:05:51,980 --> 00:05:59,540
So I just simply defined as view and also here I want to do and define that name name for this part,

101
00:06:00,200 --> 00:06:02,750
and I just name it as a home home.

102
00:06:02,780 --> 00:06:04,950
So now here we have defined our home.

103
00:06:04,970 --> 00:06:11,090
So now I want to do when any user logged in after that logging, it should be addicted to our home page.

104
00:06:11,120 --> 00:06:16,400
OK, so here I have defined that part, so I just name it with this home now we can actually access

105
00:06:16,400 --> 00:06:16,600
it.

106
00:06:17,060 --> 00:06:23,600
So if you want to access it, like I defined that things in our app locking into the view, that means

107
00:06:23,600 --> 00:06:27,440
when and user will be signing.

108
00:06:28,060 --> 00:06:31,570
Uh, so before I have passed that the EDP response.

109
00:06:31,580 --> 00:06:31,820
Right.

110
00:06:31,850 --> 00:06:33,890
So now I'm going to change it here.

111
00:06:33,890 --> 00:06:39,260
I want to pass with the EDP responsive verdict and then with the reverse.

112
00:06:40,010 --> 00:06:40,950
So the reverse.

113
00:06:40,970 --> 00:06:48,830
I want to pass it now in our app that our app shop into the app shop here I have defined if you go,

114
00:06:48,830 --> 00:06:50,180
that is our absolute name.

115
00:06:50,180 --> 00:06:52,070
And here I define that name as a home.

116
00:06:52,190 --> 00:06:52,580
Right.

117
00:06:52,590 --> 00:06:57,690
So I would want to pass it to the home and also here and do the same things for all logout.

118
00:06:58,280 --> 00:06:59,780
So here is a logo.

119
00:06:59,790 --> 00:07:04,730
They also defined that it should be done our history, be responsible with our app homepage.

120
00:07:05,000 --> 00:07:05,450
Perfect.

121
00:07:05,480 --> 00:07:08,540
So now I have to do and to save it, I just going to save.

122
00:07:08,540 --> 00:07:09,230
All right.

123
00:07:09,230 --> 00:07:11,270
Now I don't have any data, right?

124
00:07:11,270 --> 00:07:13,450
So here I don't have any data.

125
00:07:13,460 --> 00:07:15,980
But I underline to insert some of the data manually.

126
00:07:16,430 --> 00:07:20,540
If you go to our app show, first of all, I want to create another category.

127
00:07:21,020 --> 00:07:26,110
So I just simply defined as add category and I just name it as accessories.

128
00:07:27,020 --> 00:07:29,720
OK, just name it as the accessories on the category.

129
00:07:29,730 --> 00:07:35,960
Click the save and also to create another one and I just name it as a t shirt.

130
00:07:37,130 --> 00:07:38,440
OK, t shirt category.

131
00:07:38,450 --> 00:07:45,340
So that's step one, the category and to create and also and to create another one as the electronics.

132
00:07:45,590 --> 00:07:48,530
So here are defined as electronics clay as a.

133
00:07:49,550 --> 00:07:51,950
So right now I have created three of this category.

134
00:07:51,950 --> 00:07:54,620
One is the electronics t shirt and the accessories.

135
00:07:54,950 --> 00:08:01,450
So no one to do and to add on to the product, go to our product, click on the ad product here for

136
00:08:01,490 --> 00:08:02,150
the purpose.

137
00:08:02,150 --> 00:08:03,860
I am using the maze.

138
00:08:04,730 --> 00:08:07,380
So for now I'm actually using this one for educational purposes.

139
00:08:07,400 --> 00:08:08,180
I'm using it.

140
00:08:08,450 --> 00:08:17,080
And also here I define that under the name the best t shirt and also the category you can say automatically

141
00:08:17,090 --> 00:08:18,620
is getting all the other categories.

142
00:08:18,620 --> 00:08:31,350
And we just select the category as a t shirt and there is a preview as a select your size as L am s

143
00:08:31,370 --> 00:08:33,260
this type of attacks I have defined.

144
00:08:33,530 --> 00:08:34,540
And also the result is.

145
00:08:34,970 --> 00:08:40,610
For the description I want to do, I want to I don't know, the mutex OK, I just simply saw on the

146
00:08:40,610 --> 00:08:44,570
demo text like here, but now I just copy.

147
00:08:44,570 --> 00:08:46,370
And here I define some of the demo decks.

148
00:08:46,450 --> 00:08:48,700
OK, so better here.

149
00:08:48,700 --> 00:08:51,020
A defense of the demo tapes and also the price.

150
00:08:51,030 --> 00:08:58,850
So I just simply defend the price of the 260 and all price I have defined as a three hundred.

151
00:08:58,880 --> 00:09:00,710
OK, so that means previous one.

152
00:09:00,740 --> 00:09:03,270
The previous price was actually at 300.

153
00:09:03,530 --> 00:09:08,060
So now our price is the two sixty for this specific product.

154
00:09:08,090 --> 00:09:10,370
OK, so now I just feel safe.

155
00:09:11,150 --> 00:09:13,060
I can see our product is now safe.

156
00:09:13,400 --> 00:09:21,540
So now if you want to check it like here, if you now go of our base and now click the refresh and now

157
00:09:21,560 --> 00:09:25,370
to download logging with our user says it set up our on here.

158
00:09:25,370 --> 00:09:26,840
It should be the key to our homepage.

159
00:09:26,840 --> 00:09:27,090
Right.

160
00:09:27,410 --> 00:09:34,760
So don't I just simply define our area at Gmail dot com and you do me.

161
00:09:34,760 --> 00:09:36,120
One, two, three, four, five.

162
00:09:36,350 --> 00:09:37,700
Now clear the login.

163
00:09:39,090 --> 00:09:45,260
Yes, now it's different, now it's perfectly clear to our home page and also here is showing only that

164
00:09:45,270 --> 00:09:49,560
name for this product, I have defined that name as a best T-shirt.

165
00:09:49,890 --> 00:09:52,370
So now you not showing off the best T-shirt, right.

166
00:09:52,750 --> 00:09:57,520
So our product, that means in our home page, I have defined only the product name.

167
00:09:57,570 --> 00:10:00,150
So now we can actually display all that.

168
00:10:00,150 --> 00:10:06,780
Our Phelim, that means here we can display if we want to display that category, name the main picture.

169
00:10:06,870 --> 00:10:10,770
That is our previous description, prize all price.

170
00:10:11,010 --> 00:10:17,340
So everything we get every data and I just take the things with this that is our object list and what

171
00:10:17,340 --> 00:10:18,420
this object used here.

172
00:10:18,420 --> 00:10:20,730
I developed the for loop into the for loop.

173
00:10:20,730 --> 00:10:24,000
With this product we can actually visible all that our database field.

174
00:10:24,210 --> 00:10:24,600
Right.

175
00:10:24,870 --> 00:10:29,490
So better I want to do want to create some of the product fast from here.

176
00:10:29,520 --> 00:10:36,300
OK, and then we will display and also will customize our homepage as our demand so we can do that work.

177
00:10:36,300 --> 00:10:39,410
In our next video, I will show you that things with a live example.

178
00:10:39,750 --> 00:10:42,930
So thanks for watching and I'll see you in the next video.
