1
00:00:00,240 --> 00:00:05,310
Hello, friend, we'll come back, you know, previous video we have created, one of the model that

2
00:00:05,310 --> 00:00:11,070
is our middle class name I have defined as a building address, and also I have created one of the form.

3
00:00:11,070 --> 00:00:11,390
Right.

4
00:00:11,700 --> 00:00:14,160
So now I want to do I want to visible this form.

5
00:00:14,180 --> 00:00:17,700
So if you want visible it, we have to do have to work in our apartment.

6
00:00:17,700 --> 00:00:18,570
And that is our view.

7
00:00:18,570 --> 00:00:18,900
Right.

8
00:00:19,260 --> 00:00:21,120
So which is essential.

9
00:00:21,120 --> 00:00:22,490
I think you already know about it.

10
00:00:22,500 --> 00:00:25,230
What exactly do you have to take for The View?

11
00:00:25,230 --> 00:00:25,950
All that fine.

12
00:00:25,980 --> 00:00:28,200
So that is clue by default.

13
00:00:28,200 --> 00:00:30,500
It is a shortcut that is are important to render.

14
00:00:30,500 --> 00:00:30,750
Right.

15
00:00:30,990 --> 00:00:32,480
Seem to these shortcuts area.

16
00:00:32,500 --> 00:00:37,530
Also, I can use another tool of this class, so that will be as a response.

17
00:00:37,950 --> 00:00:42,810
So I just simply simplify this to be response and redirect.

18
00:00:44,280 --> 00:00:49,220
So there will be also needed and also in particular that area, that is another one as a redirect.

19
00:00:50,370 --> 00:00:52,160
So I just simply add it on here.

20
00:00:52,170 --> 00:00:55,290
OK, that means that redirect and also we need that reverse.

21
00:00:55,310 --> 00:01:02,760
So that is in our form and the Django and film Django that you or else I need without you or here.

22
00:01:02,760 --> 00:01:04,470
I understand the import, the reverse.

23
00:01:05,460 --> 00:01:05,820
Right.

24
00:01:05,830 --> 00:01:06,810
So that is reverse.

25
00:01:06,810 --> 00:01:10,170
And also I need our model.

26
00:01:10,530 --> 00:01:14,010
That means our model I have created in our apartment.

27
00:01:14,010 --> 00:01:17,750
And also we need our forms are better able to do and take note of this.

28
00:01:17,760 --> 00:01:22,790
So here I simply defined as the form and then our app payment.

29
00:01:23,430 --> 00:01:29,720
So from to the app I want to do on to from more appartement the models from the model area untampered

30
00:01:29,730 --> 00:01:30,220
all model.

31
00:01:30,240 --> 00:01:30,510
Lemp.

32
00:01:30,870 --> 00:01:35,880
So I have created one of the model in our app that means here that they are building address.

33
00:01:36,330 --> 00:01:39,370
So just simply imported and also we need our form.

34
00:01:39,400 --> 00:01:46,850
So now I just simply have the form and in our app into the app payment reserve forms right from the

35
00:01:46,860 --> 00:01:48,090
forms and import.

36
00:01:48,360 --> 00:01:54,290
I have already created the you know, formally I have created all the form name as a building form.

37
00:01:54,300 --> 00:01:57,450
So no, I just simply input also on here.

38
00:01:57,840 --> 00:01:59,850
And also we need our order.

39
00:01:59,970 --> 00:02:05,550
That means that is actually the all the order we have also displayed in our payment.

40
00:02:06,000 --> 00:02:11,730
That means checkout pays for all the order in our new app order.

41
00:02:11,730 --> 00:02:12,020
Right.

42
00:02:12,030 --> 00:02:13,880
In our app order that is our models.

43
00:02:14,490 --> 00:02:17,100
So if you go here, we need our card, right.

44
00:02:17,100 --> 00:02:18,120
We need our card.

45
00:02:18,120 --> 00:02:20,010
And also we need our this class.

46
00:02:20,010 --> 00:02:27,840
That means our class better to take note of this, that we are from and from our app underscore court

47
00:02:27,840 --> 00:02:28,340
order.

48
00:02:29,400 --> 00:02:31,110
So from our app order.

49
00:02:31,110 --> 00:02:36,770
And there is our models, our models from here and to import and import input our order.

50
00:02:37,020 --> 00:02:41,140
Sorry, I import our order and the card.

51
00:02:41,230 --> 00:02:45,000
OK, so of this class I have take that things on here.

52
00:02:45,000 --> 00:02:49,140
There is our order and that is our card because that's what we also need it.

53
00:02:49,140 --> 00:02:49,400
Right.

54
00:02:49,680 --> 00:02:55,650
So now I just sort of take both of our class on particular that position and also we need our locking

55
00:02:55,650 --> 00:02:56,130
be good.

56
00:02:56,640 --> 00:02:59,700
So locking the card in our decorator's area.

57
00:02:59,700 --> 00:03:00,050
Right.

58
00:03:00,060 --> 00:03:06,000
So I just simplify the form the Django and then the one trip

59
00:03:08,520 --> 00:03:17,100
cantrip and then the opt out and the decorator's OK decorator's from here and we import our locking

60
00:03:17,100 --> 00:03:19,380
the good locking underscoring good.

61
00:03:20,910 --> 00:03:21,240
Right.

62
00:03:21,250 --> 00:03:25,980
So that is all locking the good so that all different, everything is very much common.

63
00:03:25,980 --> 00:03:28,890
And here we used a lot of the time with the same things.

64
00:03:28,890 --> 00:03:29,160
Right.

65
00:03:29,170 --> 00:03:31,200
So I think you should already know about it.

66
00:03:31,200 --> 00:03:36,950
So if you see if you back to C then you can remember a big class, what exactly you have to call it.

67
00:03:36,960 --> 00:03:41,730
OK, so that is all locking the curtain now with this locking because I wanted one to create one of

68
00:03:41,730 --> 00:03:42,720
the functions.

69
00:03:42,720 --> 00:03:49,080
So here it will be as a longing declared and now one to define another function name as a Dave and I

70
00:03:49,080 --> 00:03:50,550
just name it at the check out.

71
00:03:51,750 --> 00:03:53,730
OK, so it should be at the check out.

72
00:03:53,730 --> 00:03:56,000
And also here we have to pass that request.

73
00:03:57,720 --> 00:04:03,750
So here we have to pass the request and then it should be the same for method that we have done before.

74
00:04:03,760 --> 00:04:11,010
So just take on the variable name as a safe, OK, by the name of the save address, I just gave me

75
00:04:11,010 --> 00:04:15,270
the the save address and now with our this billing address.

76
00:04:15,340 --> 00:04:15,810
Right.

77
00:04:15,810 --> 00:04:19,260
That means here in our model area I have already defined all the door feel.

78
00:04:19,270 --> 00:04:23,100
So here I want to take all that field so that they are being addressed.

79
00:04:23,100 --> 00:04:24,600
So it is billing address.

80
00:04:24,600 --> 00:04:28,470
I define our objects, that is our objects.

81
00:04:28,470 --> 00:04:35,010
And if here there is a function as a gate are and the create, that means if there have already some

82
00:04:35,010 --> 00:04:40,420
of the data in our particular date, all that field, it will be get all the data rather then it will

83
00:04:40,440 --> 00:04:41,380
be create this data.

84
00:04:41,490 --> 00:04:48,060
OK, so far the results here are defined as a get our create function and then our user will be our

85
00:04:48,090 --> 00:04:48,990
requested user.

86
00:04:49,530 --> 00:04:50,820
So request it user.

87
00:04:51,010 --> 00:04:54,630
OK, and then I want to do want to change that format like here.

88
00:04:54,630 --> 00:04:55,890
That is all the data.

89
00:04:55,890 --> 00:04:59,700
So that is all that our feel that I want to do and to convey.

90
00:04:59,810 --> 00:05:05,630
Headed out to the object, so here, if you want to convert it, that means this data.

91
00:05:05,690 --> 00:05:09,480
OK, so here I defined as saved saved address.

92
00:05:10,700 --> 00:05:14,890
So to simplify the save address and better to also make the things has saved.

93
00:05:14,900 --> 00:05:18,110
OK, let me the saved address, then it'll be better to you.

94
00:05:18,380 --> 00:05:24,130
So this save address I want to do want to actually make that, convert it to the object.

95
00:05:24,140 --> 00:05:29,540
So for the reasons here I want to do want to with this, save data like this, save data, I want to

96
00:05:29,540 --> 00:05:31,930
convert it to the object as a zero object.

97
00:05:32,450 --> 00:05:35,180
And after that I want to do want to add or form.

98
00:05:35,190 --> 00:05:39,590
So our form will be with our this Birling forms.

99
00:05:39,600 --> 00:05:41,410
That is our building form I have created.

100
00:05:41,420 --> 00:05:41,720
Right.

101
00:05:41,740 --> 00:05:48,500
So with this building form, I want to do and define our existence, all the data that means our already

102
00:05:48,500 --> 00:05:50,170
this field if we have any data.

103
00:05:50,180 --> 00:05:53,690
So that is all that our data we have the added at the instant.

104
00:05:54,510 --> 00:06:00,140
OK, so in this instance I want to do I want to define our these save data and here reconverted with

105
00:06:00,140 --> 00:06:02,690
this object and I take the things with these variables.

106
00:06:02,730 --> 00:06:05,180
Now here I just simply pass it right.

107
00:06:05,490 --> 00:06:10,190
And after that we have to do the same things that we have done before.

108
00:06:10,190 --> 00:06:17,360
Like here we have to define the if condition, if this request map toward that means if this is methodically

109
00:06:17,360 --> 00:06:22,670
equal as opposed because we have to also load this form.

110
00:06:22,670 --> 00:06:22,880
Right.

111
00:06:22,910 --> 00:06:26,770
So now with this was the failure to check it and then our form.

112
00:06:27,740 --> 00:06:34,770
So with this form, then our this building from so this building from here, we have to parse that already

113
00:06:34,770 --> 00:06:39,440
existed post so that the requested and then our preexisted post.

114
00:06:39,440 --> 00:06:43,340
And then also here we have to parse out this instance, all the data.

115
00:06:43,370 --> 00:06:49,120
So here I just simply pass our extensive data and after that we have to define our condition.

116
00:06:49,160 --> 00:06:49,600
Right.

117
00:06:49,910 --> 00:06:56,780
That means if sorry, if our form so if our form is valid or not.

118
00:06:56,810 --> 00:06:59,720
So here I have to define the EAS underscored valid.

119
00:07:00,320 --> 00:07:04,560
So even valid then it's still bidu it shall be saved.

120
00:07:04,560 --> 00:07:12,030
This data that we save our form data that is simply defined as a safe from data and all this waveform

121
00:07:12,050 --> 00:07:17,850
data will be again replaced within our DC Nestande area that in a sense that area.

122
00:07:17,870 --> 00:07:18,140
Right.

123
00:07:18,410 --> 00:07:20,050
So here if you want to defining it.

124
00:07:20,150 --> 00:07:22,550
So I think you already know about it.

125
00:07:22,550 --> 00:07:24,260
What exactly thinks you have to do?

126
00:07:24,530 --> 00:07:27,260
That means in our form area, what are the data?

127
00:07:27,290 --> 00:07:31,930
Now you updated this data will be safe in our privacy Nestande area.

128
00:07:31,940 --> 00:07:38,990
So we are building sorry, in our building that is in our building familiar with this building form

129
00:07:38,990 --> 00:07:39,380
here.

130
00:07:39,390 --> 00:07:46,540
We have to pass that our extensive data that means this instant save data, OK, that me into the form

131
00:07:46,730 --> 00:07:51,040
of whatever the data will be uploaded or what data will be updated.

132
00:07:51,050 --> 00:07:54,920
This data will be added in our instant, our previous section.

133
00:07:54,920 --> 00:07:58,540
That means previously that field area, it will be replace it with our new data.

134
00:07:58,820 --> 00:08:02,030
And after that, also here we have to do we have to load our pace.

135
00:08:02,030 --> 00:08:07,770
That means here we have to load it with the return and then ORENDER.

136
00:08:09,050 --> 00:08:12,140
So with this written render, that is a request.

137
00:08:12,140 --> 00:08:16,110
And then also here we have to do we have to create one the page.

138
00:08:16,150 --> 00:08:24,260
So that means in our app underscore payment, OK, to the app payment if you go to it and if you go

139
00:08:24,260 --> 00:08:30,110
to our template with the template into that app payment here and want to create the file and I just

140
00:08:30,110 --> 00:08:34,590
name it as a checkout checkout dot SGML.

141
00:08:34,820 --> 00:08:40,630
OK, so now here I want to do and we define that name that see in our app payment area.

142
00:08:40,790 --> 00:08:47,170
I want to do, I want to create, although I have already created all the pace of the checkout checkout

143
00:08:47,180 --> 00:08:48,110
dot e-mail.

144
00:08:48,380 --> 00:08:54,150
And after that also we have to do have to pass our contest from data that means into the context so

145
00:08:54,170 --> 00:08:57,500
that the context area we have to do, we have to pass our form.

146
00:08:57,500 --> 00:08:57,780
Right.

147
00:08:58,100 --> 00:09:05,250
So here I just simply define our form so our form will be our form.

148
00:09:05,930 --> 00:09:07,170
So just simply pass it.

149
00:09:07,550 --> 00:09:12,500
So now we can actually access our this form in our that checkout based upon checkout daughters.

150
00:09:12,590 --> 00:09:13,180
Tamalpais.

151
00:09:13,190 --> 00:09:18,050
So now we have to we have to work in our d checkout birthrights and go to our checkout.

152
00:09:18,260 --> 00:09:25,340
And here, first of all, it will be extensor basis also extends our business.

153
00:09:25,430 --> 00:09:27,730
Tamalpais dot xhtml right.

154
00:09:28,130 --> 00:09:33,960
It will be extends our daughters Jemal and also here we need our Quispe forms.

155
00:09:33,960 --> 00:09:42,590
So here also we have to do we have to load our Crispi Quispe underscore form.

156
00:09:43,400 --> 00:09:45,200
OK, whispy form text.

157
00:09:45,470 --> 00:09:47,060
So undress Coatex.

158
00:09:47,780 --> 00:09:50,780
So here you have to load it and then our block.

159
00:09:51,440 --> 00:09:57,500
That means our body blocks or block will be our body underscored block.

160
00:09:58,280 --> 00:09:59,270
Right and.

161
00:09:59,330 --> 00:10:06,920
Then also, we have to we have to end this block, so just simply and this block and block so far access

162
00:10:06,930 --> 00:10:09,400
this Check-Out pace, we have to also defend you.

163
00:10:09,420 --> 00:10:10,110
All right.

164
00:10:10,130 --> 00:10:13,010
So now go to our payment.

165
00:10:13,010 --> 00:10:17,200
If that payment and that is all you need to know in particular, that position.

166
00:10:17,210 --> 00:10:18,680
I want to do want to define that.

167
00:10:18,710 --> 00:10:24,050
You all saw here, here at the that and in the party area.

168
00:10:24,410 --> 00:10:30,080
I want to do and the real name will be at the checkout, OK, which will be at the checkout.

169
00:10:30,080 --> 00:10:33,830
And also in our views, some of the views I have already created.

170
00:10:33,830 --> 00:10:38,780
One of the function in The View, I have read the function at the checkout.

171
00:10:38,810 --> 00:10:41,450
So now here I want to do and define that checkout.

172
00:10:41,450 --> 00:10:44,720
So here that will be our function name at the checkout.

173
00:10:44,990 --> 00:10:46,790
And also here, define some of the name.

174
00:10:47,360 --> 00:10:50,090
So name for this and it will be at the checkout.

175
00:10:50,280 --> 00:10:57,490
OK, so here I just simply defending it and also the app name I have defined as a payment and the regular

176
00:10:57,500 --> 00:10:57,980
check out.

177
00:10:57,980 --> 00:10:58,480
Perfect.

178
00:10:58,760 --> 00:11:03,110
So no I want to do and to put that link, I want to put that link, you know what this card piece into

179
00:11:03,110 --> 00:11:06,230
the card piece and here that is our process to payment.

180
00:11:06,320 --> 00:11:08,400
But I want to define the process to check out.

181
00:11:08,420 --> 00:11:10,780
OK, so here I want to define that link.

182
00:11:11,180 --> 00:11:12,740
So that is in our cart.

183
00:11:13,070 --> 00:11:22,670
And if you go to our e-mail and that is our app order and the card e-mail and the card e-mail here,

184
00:11:22,850 --> 00:11:24,950
you can see that is up to the process to payment.

185
00:11:24,950 --> 00:11:27,950
So get around to make that in the process to check out.

186
00:11:29,090 --> 00:11:31,010
OK, for us to check out.

187
00:11:31,220 --> 00:11:33,080
Just name it as a process to check out.

188
00:11:33,080 --> 00:11:37,340
And here we have to define that you are all that we are you are right now created.

189
00:11:37,970 --> 00:11:42,770
So here you're still with that you are OK and that you are still here.

190
00:11:43,320 --> 00:11:48,410
And I have to defend our app, name our app and will be app underscore payment.

191
00:11:48,920 --> 00:11:54,130
And under the app payment here that is our payment and the A check out.

192
00:11:54,560 --> 00:11:57,120
So no I want to do and define that our check out.

193
00:11:57,260 --> 00:11:57,520
OK.

194
00:11:57,680 --> 00:11:59,180
And so here I put that link.

195
00:11:59,180 --> 00:12:06,020
So now it will be redirected to our aspecific this base that we see in our checkout page right now if

196
00:12:06,020 --> 00:12:08,060
you check it like here.

197
00:12:08,980 --> 00:12:18,020
I right now in Toronto, salver the pie and then man is not pie and then run server.

198
00:12:18,620 --> 00:12:19,320
Enter.

199
00:12:22,650 --> 00:12:29,430
Our server is not running, and now if you refresh it right now that there are to because their process

200
00:12:29,430 --> 00:12:30,090
to check out.

201
00:12:30,210 --> 00:12:35,890
Yes, you can see it's not perfectly adequate to our checkout base and also here at our business table.

202
00:12:35,940 --> 00:12:38,730
So do the best we have get our this header.

203
00:12:38,730 --> 00:12:40,290
So that is our heritage visible.

204
00:12:40,290 --> 00:12:43,090
So that means our district page is not perfectly working.

205
00:12:43,110 --> 00:12:45,230
So here I want to do and load our form.

206
00:12:45,810 --> 00:12:51,590
That means that is actually a form I have created in our form so that the form with all that field.

207
00:12:51,930 --> 00:12:54,420
So no, actually there is you are allowed on.

208
00:12:54,420 --> 00:12:56,630
It is there is a card, the same mail.

209
00:12:56,660 --> 00:13:00,200
We don't need these to check out the stimulus we needed.

210
00:13:00,280 --> 00:13:01,860
Right now we don't need to remove it.

211
00:13:02,250 --> 00:13:07,740
So here, first of all, I take the Dave OK to the Bay Area at the front of the class of the container

212
00:13:09,180 --> 00:13:11,440
container and empty five.

213
00:13:11,970 --> 00:13:19,740
So I just simplified the container, empty five and then I take another I still tag so into the extra

214
00:13:19,750 --> 00:13:20,490
tag area.

215
00:13:20,490 --> 00:13:22,200
I define that another class.

216
00:13:23,990 --> 00:13:27,630
OK, so the symbol of the U.S. depends on you, whatever you want.

217
00:13:27,660 --> 00:13:34,920
Right now I'm actually using ACMD three, the results of the building class or right now in our history

218
00:13:34,920 --> 00:13:35,510
area.

219
00:13:35,520 --> 00:13:45,570
I want to define a will be sure the shipping address is shipping address, so that will be the shipping

220
00:13:45,570 --> 00:13:49,200
address and the shipping address is will be sure our base link.

221
00:13:49,200 --> 00:13:51,530
That means that we will be in our checkout base.

222
00:13:51,540 --> 00:13:53,610
So here I define what do they spend?

223
00:13:53,940 --> 00:13:57,300
And under this pen area I define that name will be at the checkout.

224
00:13:58,380 --> 00:13:59,620
It will be at the checkout.

225
00:13:59,640 --> 00:14:02,940
OK, and also for this is when I define one of the class.

226
00:14:03,810 --> 00:14:06,570
So all class will be as a text mute.

227
00:14:08,020 --> 00:14:09,750
OK, text me this type of class.

228
00:14:09,750 --> 00:14:15,170
I want to use it if you're not here to save all freshet.

229
00:14:15,390 --> 00:14:16,680
Yeah, you can see it's not perfect.

230
00:14:16,680 --> 00:14:20,160
It's not showing us our shipping address and the take out better.

231
00:14:20,850 --> 00:14:28,590
And to make that as it is for OK I just make us age four and also and that age four.

232
00:14:29,370 --> 00:14:32,310
Savol refresh it.

233
00:14:32,490 --> 00:14:33,600
Yeah it's much better.

234
00:14:34,020 --> 00:14:38,040
So here I want to do and to distinguish with the turo one will be our this one.

235
00:14:38,040 --> 00:14:43,410
And here I want to take another one for display all the tall order and it will be here.

236
00:14:43,410 --> 00:14:44,620
I want to load our form.

237
00:14:44,640 --> 00:14:47,700
OK, so for doing this after this.

238
00:14:47,700 --> 00:14:54,510
It's OK after this one I want to take another day and that will be as a rule that means the devil here.

239
00:14:54,510 --> 00:14:56,400
I want to distinguish with the two diff.

240
00:14:56,400 --> 00:14:58,340
So here will be the call.

241
00:14:58,920 --> 00:15:01,190
Gorell Amde nine.

242
00:15:01,860 --> 00:15:05,310
OK, so just name it as a call and be nine on the left.

243
00:15:05,310 --> 00:15:07,560
And also I want to take another Leot.

244
00:15:08,310 --> 00:15:09,420
I take another load.

245
00:15:09,420 --> 00:15:11,010
It will be, as I call them, the three.

246
00:15:11,350 --> 00:15:13,010
That means that is equal to twelve.

247
00:15:13,500 --> 00:15:15,720
So now first of all, I want to work on here.

248
00:15:16,620 --> 00:15:19,610
So that is our one Dave and another Dave.

249
00:15:19,950 --> 00:15:22,860
So now first of all, here I want to do all the different, another Dave.

250
00:15:22,860 --> 00:15:24,930
And here I take that as a card.

251
00:15:25,620 --> 00:15:27,150
So there is also another class.

252
00:15:27,150 --> 00:15:31,460
I definitely am be Ghormley five am defined.

253
00:15:31,470 --> 00:15:34,950
And also after this I take our cardboards.

254
00:15:34,950 --> 00:15:39,150
So I just separate from the Dave as a card and then Bardy.

255
00:15:39,520 --> 00:15:47,340
OK, so card body sillu the Cavalieri I want to do under load or form so I just a different form here.

256
00:15:47,340 --> 00:15:56,670
We don't need any class, we don't need any methode and here I only need our methode as opposed to simply

257
00:15:56,670 --> 00:15:58,230
defined as the post method.

258
00:15:58,530 --> 00:16:04,800
And here also we have to do we have to load our form because in our view from here I have found that

259
00:16:04,800 --> 00:16:05,390
form right.

260
00:16:05,400 --> 00:16:07,170
So no, I don't want to use it.

261
00:16:07,170 --> 00:16:08,370
So that will be our form.

262
00:16:08,370 --> 00:16:14,160
And also here I loaded our Crispi so now and I don't use that Crispi form.

263
00:16:15,330 --> 00:16:17,130
OK, that will be our case before.

264
00:16:17,340 --> 00:16:17,880
Perfect.

265
00:16:18,150 --> 00:16:21,330
And also here we have to do we have to define our CSR field.

266
00:16:21,330 --> 00:16:30,090
So I just simply live another C SRF and rescue token so that those yourself token and then a button

267
00:16:30,090 --> 00:16:30,800
will be needed.

268
00:16:31,380 --> 00:16:38,410
So I just simply from the button will be at the submit and then here also we don't need any name here.

269
00:16:38,430 --> 00:16:39,660
Just remove that name.

270
00:16:39,960 --> 00:16:48,960
I found that the class button class will be as written between primary primary and then and between

271
00:16:48,960 --> 00:16:49,460
s.m.

272
00:16:49,950 --> 00:16:55,080
OK, I just name it as a button s.m and it will be at the same address.

273
00:16:56,970 --> 00:16:58,620
So it'll be, as I say, WordPress.

274
00:16:58,950 --> 00:16:59,460
Perfect.

275
00:16:59,550 --> 00:17:01,080
So that's all you have to do.

276
00:17:01,570 --> 00:17:03,030
OK, so that's all you have to do.

277
00:17:03,030 --> 00:17:04,020
Now let's check this out.

278
00:17:04,020 --> 00:17:08,460
If we're not to save all and now first of all, have to check it.

279
00:17:08,670 --> 00:17:11,850
Everything is running well, now refresh it.

280
00:17:12,000 --> 00:17:19,110
Yeah, you can see it's not perfectly getting all the to address that zip code, the city and the country.

281
00:17:19,740 --> 00:17:21,780
So now also here at defining it.

282
00:17:21,840 --> 00:17:27,540
So if you go to our view here have also defined our form, that will be saved with our insistence that

283
00:17:27,540 --> 00:17:28,000
area.

284
00:17:28,340 --> 00:17:29,550
Now, let's check this out here.

285
00:17:29,550 --> 00:17:37,900
I define that address as USA and board some of the code and that defines the US again as a New York.

286
00:17:37,920 --> 00:17:40,710
OK, so new and the country are different of the USA.

287
00:17:40,720 --> 00:17:46,200
So this type of the information right now, I'm using a bit different from the address for education

288
00:17:46,200 --> 00:17:46,580
purposes.

289
00:17:46,590 --> 00:17:48,040
Not clear the same address.

290
00:17:48,460 --> 00:17:48,840
Yes.

291
00:17:48,840 --> 00:17:50,480
You can see it's not perfectly safe.

292
00:17:50,490 --> 00:17:56,730
That means addresses safety code is also safe and there is no city say the country is safe and after

293
00:17:56,730 --> 00:17:59,790
that is showing all the instances that are for the reasons here.

294
00:17:59,790 --> 00:18:03,720
You can see after that they are defined as a form in the building.

295
00:18:03,970 --> 00:18:09,540
Our building for media is to be in a stands our all the same data so that now you can see it's not showing

296
00:18:09,540 --> 00:18:11,190
our instant all the same data.

297
00:18:11,610 --> 00:18:16,560
So now if you go again, our homepage, go to the card, go to the process to check out.

298
00:18:16,560 --> 00:18:19,700
You can see it's not showing or all that instant save data.

299
00:18:19,710 --> 00:18:20,110
Right.

300
00:18:20,550 --> 00:18:22,920
So that's the reason we actually using it.

301
00:18:22,920 --> 00:18:29,580
And also here we successfully define our checkout and also know here, if you want to define our message,

302
00:18:29,580 --> 00:18:33,150
then it should be actually interactive, better able to use that message option.

303
00:18:33,300 --> 00:18:38,790
So if you want to use that message, first of all, here we have to do you have to add our message glass,

304
00:18:38,820 --> 00:18:39,200
right.

305
00:18:39,220 --> 00:18:40,290
So that is our form.

306
00:18:40,290 --> 00:18:44,390
And from what, Django, there is also one of the building blocks right.

307
00:18:44,400 --> 00:18:45,250
There is our country.

308
00:18:46,500 --> 00:18:49,920
So from the country, I don't want to import our messages.

309
00:18:50,610 --> 00:18:52,950
So here I just simply import our message.

310
00:18:53,000 --> 00:18:58,560
So now with this message, I want to display our this message that means we need to be safe.

311
00:18:58,580 --> 00:19:01,110
This data look, where shall we save this data?

312
00:19:01,500 --> 00:19:05,930
So after this here, I find that messages with these messages.

313
00:19:05,940 --> 00:19:08,660
This will be the success, OK?

314
00:19:08,740 --> 00:19:15,980
Should be as a success tax and then the request and here on the display that what that thinks it will

315
00:19:15,980 --> 00:19:17,820
be display like here on the display.

316
00:19:17,860 --> 00:19:25,770
The shipping shipping address, shipping address, save sieved.

317
00:19:25,770 --> 00:19:28,560
So this step up of the messages will be displayed.

318
00:19:29,250 --> 00:19:31,010
So now let's check this out.

319
00:19:31,020 --> 00:19:34,710
If you click at the save, also here it is simply the save all.

320
00:19:35,100 --> 00:19:37,380
And now I just refreshed.

321
00:19:38,530 --> 00:19:44,860
Now, I want to change it on here that you called the things that they called because they are save

322
00:19:44,870 --> 00:19:45,390
update.

323
00:19:45,400 --> 00:19:49,350
Yeah, because it's not perfectly display our shipping at the safe.

324
00:19:49,690 --> 00:19:53,850
And also, if you want to change the tone here, we have the same address.

325
00:19:54,460 --> 00:19:54,900
Yes.

326
00:19:54,910 --> 00:19:56,000
No, perfectly visible.

327
00:19:56,020 --> 00:20:01,180
OK, that means right now, if you want change anything automatically, our message optional, invisible,

328
00:20:01,510 --> 00:20:06,280
and also to have another one, that means in our current area right now that have some of the product.

329
00:20:06,280 --> 00:20:06,550
Right.

330
00:20:06,550 --> 00:20:08,390
And also that is our product quantity.

331
00:20:08,410 --> 00:20:14,140
So now I want to do all the visible over this product name with also the quantity in our D checkout

332
00:20:14,140 --> 00:20:14,470
base.

333
00:20:14,800 --> 00:20:19,330
That means here so far the results here, I have already defined another column.

334
00:20:19,360 --> 00:20:23,950
So in our checkout here, I have already defined another column as I call every three.

335
00:20:24,280 --> 00:20:24,590
Right.

336
00:20:24,610 --> 00:20:27,880
So here I want to visible that file so we can do that work.

337
00:20:27,910 --> 00:20:31,170
In our next video, I will show you that things with a live example.

338
00:20:31,480 --> 00:20:33,070
So thanks for watching.

339
00:20:33,070 --> 00:20:34,750
I'll see you in the next video.
