1
00:00:00,180 --> 00:00:05,910
Hello, friend, welcome back in a previous video I have already discussed about that for Loop, so

2
00:00:05,910 --> 00:00:10,620
now in this video I want to discuss about how you can load all that, your static data.

3
00:00:11,040 --> 00:00:17,280
That means, as I told you, for our this fundamental section, I will use our this team, OK, so little

4
00:00:17,280 --> 00:00:19,090
we will actually make that into dynamic.

5
00:00:19,410 --> 00:00:25,230
So right now, first of all, if you want to working with this static, one of the file, then first

6
00:00:25,230 --> 00:00:30,330
of all, like for this team to have some of the images, they have some of the cases, they have some

7
00:00:30,330 --> 00:00:31,080
of the JSW.

8
00:00:31,080 --> 00:00:31,360
Right.

9
00:00:31,650 --> 00:00:33,540
So that's all that static data.

10
00:00:33,840 --> 00:00:40,730
So now I want to do and actually add this static that so can do that work for doing this in Django.

11
00:00:40,740 --> 00:00:43,410
You have to apply some of the condition.

12
00:00:43,620 --> 00:00:50,700
If you go to that Django official Web site, OK, if you go to that Django official live.

13
00:00:51,120 --> 00:00:53,020
So that is our Django project dot com.

14
00:00:53,050 --> 00:00:54,660
So now it's simply open it.

15
00:00:56,920 --> 00:00:59,470
And if you go to that documentation.

16
00:01:01,320 --> 00:01:09,300
And the documentation area, if you start with the magazine managing a story, managing static files,

17
00:01:09,460 --> 00:01:10,800
so if you start with this.

18
00:01:13,320 --> 00:01:17,560
And then here you can see that the managing files and the managing static file.

19
00:01:17,590 --> 00:01:20,400
So now I want to actually edit that managing static files.

20
00:01:20,400 --> 00:01:23,640
As I told you, that is a major JavaScript and access.

21
00:01:23,640 --> 00:01:23,900
Right.

22
00:01:24,210 --> 00:01:25,600
So now I just simply open it.

23
00:01:26,040 --> 00:01:31,590
So if you want to apply this static file, then they have some of the things you have to update that

24
00:01:31,830 --> 00:01:34,510
also is giving somebody an instruction on here.

25
00:01:34,530 --> 00:01:39,360
So now we have to actually we have to do we have to actually float this in a section like the reservoir

26
00:01:39,360 --> 00:01:39,910
is static.

27
00:01:39,910 --> 00:01:40,220
You are.

28
00:01:40,470 --> 00:01:41,870
So here we have to update it.

29
00:01:41,880 --> 00:01:42,500
That is static.

30
00:01:42,510 --> 00:01:42,860
You are.

31
00:01:43,080 --> 00:01:50,300
And also in our menus, the regular menus, while here, we have also updated our already static files

32
00:01:50,310 --> 00:01:50,940
directory.

33
00:01:51,300 --> 00:01:53,960
So step by step, we have to do we have to update it.

34
00:01:54,300 --> 00:01:56,610
So for doing this, first of all, right.

35
00:01:56,610 --> 00:01:57,510
Now, we don't need this.

36
00:01:57,510 --> 00:01:59,610
I just simply remove everything from here.

37
00:01:59,880 --> 00:02:01,520
OK, then it'll be actually clean.

38
00:02:01,920 --> 00:02:08,380
So now into the template, into the template area that is our main portfolio, into the portfolio.

39
00:02:08,380 --> 00:02:14,010
If we go to that settings into the settings here, they have by default one of the static file.

40
00:02:14,010 --> 00:02:16,740
You can see that the cloud is static, equal as a static.

41
00:02:17,010 --> 00:02:19,710
OK, that means that is actually the only static you are.

42
00:02:20,100 --> 00:02:25,190
So now first of all, if you want to do like here, I want to apply some of the CSX file.

43
00:02:25,210 --> 00:02:30,840
So now for this page, I want to apply some of the specifics as file, OK, so I can actually load this

44
00:02:31,200 --> 00:02:33,260
file I show you for doing this.

45
00:02:33,270 --> 00:02:35,040
That is always telling you all that is today.

46
00:02:35,090 --> 00:02:40,080
So for the reasons first of all, I want to do I have to do I have to actually create one of the folder

47
00:02:40,080 --> 00:02:42,950
in our main portfolio into the main portfolio area?

48
00:02:42,960 --> 00:02:46,890
I just simply create one of the new folder and I just named it as a static.

49
00:02:47,070 --> 00:02:52,380
OK, so now I just simply created the folder as a static and static folder area.

50
00:02:52,380 --> 00:02:53,670
I want to create on the file.

51
00:02:53,790 --> 00:02:55,660
And I just named it as a style.

52
00:02:56,940 --> 00:02:58,470
OK, Stallard siestas.

53
00:02:58,680 --> 00:03:01,080
So that will be our of says.

54
00:03:01,380 --> 00:03:02,400
That will be our file.

55
00:03:02,580 --> 00:03:06,210
OK, so here I want to do first of all, I want to add some of the body background.

56
00:03:06,630 --> 00:03:10,530
So I just simply added that body so into the body area.

57
00:03:10,740 --> 00:03:16,680
I just simply added onto the background color like background color and the background color.

58
00:03:16,710 --> 00:03:20,400
Now I want to use on the screen, OK?

59
00:03:20,460 --> 00:03:23,870
I just simply added on a dark green color.

60
00:03:24,180 --> 00:03:27,090
So now we have to do we have to add our DC style.

61
00:03:27,090 --> 00:03:29,720
So we have to add this is telling our main page.

62
00:03:29,730 --> 00:03:31,470
That means that is our main page.

63
00:03:31,500 --> 00:03:37,800
I have already declared in our layouts right in the Dallas area, you can see I already added our client

64
00:03:37,820 --> 00:03:41,860
end up with the booster Obsidian CCIS, and that is also the Jaysus file.

65
00:03:42,240 --> 00:03:47,580
So here I want to do and actually also added, that means that the league is tells you, I want to add

66
00:03:47,580 --> 00:03:50,040
something that I just copied and pasted.

67
00:03:50,070 --> 00:03:51,780
So right now we don't need this.

68
00:03:52,410 --> 00:03:54,570
So I just simply remove everything.

69
00:03:54,660 --> 00:03:56,070
And also we don't need this.

70
00:03:56,850 --> 00:04:00,440
I just simply remove it also from here, OK?

71
00:04:01,080 --> 00:04:01,980
I don't need this.

72
00:04:01,980 --> 00:04:04,970
I just simply will be so in particular, that area.

73
00:04:04,980 --> 00:04:10,910
So in particular that area, if you want to visible it for that means that is excessive, won't be bullied

74
00:04:10,920 --> 00:04:11,950
for doing this.

75
00:04:11,970 --> 00:04:15,390
First of all, you have to do you have to load that.

76
00:04:15,630 --> 00:04:16,340
You have to load.

77
00:04:16,350 --> 00:04:17,180
This is static.

78
00:04:17,220 --> 00:04:20,740
OK, so for now I just simply copy it.

79
00:04:21,090 --> 00:04:23,640
So now here in here.

80
00:04:24,180 --> 00:04:25,200
OK, sorry.

81
00:04:25,830 --> 00:04:27,570
Here I want to do in the top.

82
00:04:27,570 --> 00:04:30,480
I laud our aesthetic, make sure you add it.

83
00:04:30,660 --> 00:04:35,190
And also after that I want to pull some of the link that with our this finely static filing.

84
00:04:35,190 --> 00:04:42,600
So here if you want to put it with the double this and here first of all that will be as a static folder

85
00:04:43,510 --> 00:04:45,870
is static and the static area.

86
00:04:45,900 --> 00:04:48,940
So here I have created one of the standard success.

87
00:04:48,970 --> 00:04:52,170
I just simply added a style dot cyesis.

88
00:04:52,390 --> 00:04:54,510
OK, so that is our second step.

89
00:04:54,520 --> 00:04:56,000
So we successfully completed.

90
00:04:56,340 --> 00:05:03,240
So now also after that, after that we have to do we have to update our this is texture directly that

91
00:05:03,380 --> 00:05:05,380
the static files directly.

92
00:05:05,670 --> 00:05:10,250
So now here we have to do first of all, we have actually added that means here, but.

93
00:05:10,260 --> 00:05:10,460
Right.

94
00:05:10,470 --> 00:05:16,980
Assembly copy total things from here and now in our setting into the setting, that means in a portfolio

95
00:05:16,980 --> 00:05:18,020
that is our main setting.

96
00:05:18,390 --> 00:05:20,690
So that is only static until after this.

97
00:05:20,700 --> 00:05:26,010
OK, after this I assembly passed it, that will be our static files did actually seem to be static.

98
00:05:26,010 --> 00:05:32,910
Fudgie actually I have created one of the folder as a static, so we have to also included it so better

99
00:05:34,560 --> 00:05:35,770
that will be actually this one.

100
00:05:35,790 --> 00:05:37,830
So for now I just simply copy it.

101
00:05:37,990 --> 00:05:42,360
OK, so I also did that work for our add this directly.

102
00:05:42,370 --> 00:05:43,290
That means the template.

103
00:05:43,290 --> 00:05:44,810
So should we just like that same.

104
00:05:45,360 --> 00:05:53,880
So for the results here I just simply copied it and now I want to do I want to add our this is our main

105
00:05:53,880 --> 00:05:54,390
directorate.

106
00:05:54,390 --> 00:05:56,490
That means the static files directly.

107
00:05:56,490 --> 00:05:59,760
And here I just simply paste it seems will be our name.

108
00:05:59,760 --> 00:06:04,920
So I have created that our file name as a static, OK.

109
00:06:04,950 --> 00:06:08,490
That means our folder as a static site is simply added that as a static.

110
00:06:08,670 --> 00:06:12,840
And also here we have to do we have to add another things like here that.

111
00:06:12,920 --> 00:06:20,060
Zouari, Statik, farcically, I have added and also there is a diploid and for the diploid, all the

112
00:06:20,060 --> 00:06:24,790
files that before you actually deployed disposer to the Web server for the reasons here, better.

113
00:06:24,830 --> 00:06:28,610
We have to also add another one that the aesthetical out.

114
00:06:28,620 --> 00:06:29,900
OK, that means study group.

115
00:06:29,960 --> 00:06:33,160
OK, so now I also you have to do we have to actually add it better.

116
00:06:33,170 --> 00:06:38,330
I just simply copy it and then after that here I just simply paste it.

117
00:06:38,570 --> 00:06:44,840
So that will be our aesthetic that there's one for our diploid this project or when we actually submitted

118
00:06:44,840 --> 00:06:49,240
our project to the Web subordinate's will be our this aesthetic, all the child.

119
00:06:49,250 --> 00:06:56,480
Rouda will be updated soon, particularly Natalio and wonderfully copied and hear E here.

120
00:06:56,480 --> 00:06:59,110
I just simply posted so I want to do.

121
00:06:59,130 --> 00:07:04,520
And when will it be deployed then I want to add it on the aesthetic road and distribute area.

122
00:07:04,520 --> 00:07:07,090
I want to add it on the file as an asset.

123
00:07:08,240 --> 00:07:09,830
OK, so that is the asset.

124
00:07:10,040 --> 00:07:14,880
That means I want to do I want to create one of the folders to be automatically created automatically.

125
00:07:14,930 --> 00:07:19,730
So we created one the folder in particular, that area as the asset and the asset area.

126
00:07:19,730 --> 00:07:20,900
It should be save all that.

127
00:07:20,900 --> 00:07:23,340
Your CSA is Jaysus all that file.

128
00:07:23,390 --> 00:07:25,630
OK, so you don't already step by step.

129
00:07:25,640 --> 00:07:29,260
Everything will be more clear to use for doing this better.

130
00:07:29,270 --> 00:07:35,270
I just click it to save all and for doing this you have to do we have to run all the command now go

131
00:07:35,270 --> 00:07:36,380
to our link.

132
00:07:36,710 --> 00:07:38,420
So that is our reasoning.

133
00:07:38,780 --> 00:07:41,330
But I want to open our end of the terminal.

134
00:07:41,870 --> 00:07:43,340
So that is our general.

135
00:07:43,340 --> 00:07:45,230
And after that, that is actually our project.

136
00:07:45,230 --> 00:07:45,560
Right.

137
00:07:45,690 --> 00:07:52,070
So that is all we have to do, have to change that directly rather than you can actually also open our

138
00:07:52,070 --> 00:07:56,060
D folder, OK, you can open this folder and into the open folder area.

139
00:07:56,090 --> 00:08:02,120
You can do you can actually before that was actually our design go so you can select it with the portfolio,

140
00:08:02,120 --> 00:08:05,420
then automatically you will be selected as a your portfolio.

141
00:08:05,630 --> 00:08:07,460
OK, so I will do the things later.

142
00:08:07,460 --> 00:08:10,360
Right now I just simply change that directly as a portfolio.

143
00:08:10,370 --> 00:08:13,710
So now you can see the regular jungle and then our portfolio.

144
00:08:13,820 --> 00:08:17,120
So now for Rahnavard, this is static route.

145
00:08:17,120 --> 00:08:18,030
That means static route.

146
00:08:18,080 --> 00:08:21,080
If you want to create the parser, then you have to run one of the command.

147
00:08:21,380 --> 00:08:22,910
You have to run as a python.

148
00:08:23,490 --> 00:08:24,530
OK, Python.

149
00:08:24,530 --> 00:08:26,090
And then with the managed by.

150
00:08:28,530 --> 00:08:34,620
With the madness by then, you have to do you have to run on the college static, so I just simply added

151
00:08:34,620 --> 00:08:42,440
as a collect, OK, collect static so that the static make sure your spelling is correct.

152
00:08:42,450 --> 00:08:45,640
So there is a python managed by and the collective static.

153
00:08:45,660 --> 00:08:47,520
So now if you click as they enter.

154
00:08:48,700 --> 00:08:54,460
Yes, you can see Fanhouse automatically created one of the folder, as I said, so that is the things

155
00:08:54,460 --> 00:08:55,670
I have already declared.

156
00:08:55,930 --> 00:09:02,180
And here you can see snowshoeing as a 131 in Statik file copied to our TS asset area.

157
00:09:02,430 --> 00:09:05,710
OK, so that means everything is done automatically.

158
00:09:05,710 --> 00:09:09,790
Get all that our like right now I don't have any templates.

159
00:09:09,790 --> 00:09:13,090
I only have created one of the file as the static file as Estelle.

160
00:09:13,570 --> 00:09:19,360
US right now consists automatically deployed as E-L boxes and that is for our admin.

161
00:09:19,650 --> 00:09:22,300
OK, that is for our admin and for the admin.

162
00:09:22,300 --> 00:09:27,520
That is actually the CSA that there is all the default one so automatically is deployed.

163
00:09:27,520 --> 00:09:32,290
Everything, whatever the things will now create on here, automatically it will be deployed all the

164
00:09:32,350 --> 00:09:33,710
file in our outside area.

165
00:09:34,000 --> 00:09:41,290
OK, so for the reasons here, I just simply deployed with our python and the man spy and the static

166
00:09:41,440 --> 00:09:44,080
perfect I hope is very much clear to your friend.

167
00:09:44,090 --> 00:09:49,750
So right now I have already run my our Sahba and also I save all that file.

168
00:09:50,050 --> 00:09:55,930
And here I have created here I have already liying one of those tile boxes.

169
00:09:55,930 --> 00:09:58,660
And also I pulled some of the background color.

170
00:09:58,660 --> 00:09:58,970
Right.

171
00:09:59,290 --> 00:10:00,370
So now let's check this out.

172
00:10:00,370 --> 00:10:02,990
Our this says is perfectly working or not.

173
00:10:03,460 --> 00:10:08,530
So now if you go to our site and here if you look at the refresh, yes.

174
00:10:08,530 --> 00:10:11,470
You can see in our background is now become Chanes.

175
00:10:11,470 --> 00:10:11,770
Right.

176
00:10:11,780 --> 00:10:15,650
So there is actually another day for the region which is visible like that way.

177
00:10:15,940 --> 00:10:17,050
So here I have U.

178
00:10:17,050 --> 00:10:20,530
S the class, but you can see background is totally changed.

179
00:10:20,550 --> 00:10:26,240
So now if you want to change it again, like here, I want to make the things as a green or red.

180
00:10:26,770 --> 00:10:30,910
OK, I just make things as red because I save all.

181
00:10:31,970 --> 00:10:32,820
Refreshing.

182
00:10:33,000 --> 00:10:40,610
Yes, it's not perfectly good our all that as a scholar, right so far using this, but I want to make

183
00:10:40,610 --> 00:10:41,580
as a green better.

184
00:10:41,670 --> 00:10:43,340
OK, so that will be the green.

185
00:10:43,580 --> 00:10:49,460
And for use it, as I told you in the layout area, first of all, you have to load your disestablish

186
00:10:49,460 --> 00:10:50,840
that below the static.

187
00:10:50,840 --> 00:10:57,510
And also I just put a link that means our link is stylesheet and here there is already static with this

188
00:10:57,530 --> 00:10:58,060
static.

189
00:10:58,070 --> 00:11:01,340
I just simply loaded our Estella's access right now.

190
00:11:01,340 --> 00:11:08,690
One of the things we will put on here now, you can use all that CSRs for your project, I hope is very

191
00:11:08,690 --> 00:11:10,500
much clear to your friends right now.

192
00:11:10,520 --> 00:11:11,750
If you to save all.

193
00:11:11,750 --> 00:11:14,760
I make that as a green click, as a refresh.

194
00:11:14,780 --> 00:11:18,160
Now, this is not totally updated and now it's green, right?

195
00:11:18,710 --> 00:11:22,960
So we successfully complete that part of the next video I want to do.

196
00:11:22,970 --> 00:11:24,800
I want to work on that.

197
00:11:24,800 --> 00:11:25,930
Play our this team.

198
00:11:25,940 --> 00:11:30,160
OK, that means how we can add some of the bootstrap template in Django.

199
00:11:30,170 --> 00:11:36,950
So for our this foundational section, as I told you, I want to use this theme so I can apply this

200
00:11:37,070 --> 00:11:39,290
theme in our Django project area.

201
00:11:39,290 --> 00:11:42,560
In our next video, I will show you that things with a live example.

202
00:11:43,070 --> 00:11:46,550
So thanks for watching and I'll see you in the next video.
