1
00:00:00,150 --> 00:00:06,840
Hello, friend, welcome back in this video to a new session is about how can create one of the best

2
00:00:06,990 --> 00:00:09,230
blog project with using that Django.

3
00:00:09,540 --> 00:00:13,550
So I told a friend in this course will create three different project.

4
00:00:13,560 --> 00:00:20,250
One will be as a blog project and one of the social media project and also another basic e-commerce

5
00:00:20,250 --> 00:00:20,740
project.

6
00:00:20,910 --> 00:00:22,650
So step by step, will build it.

7
00:00:22,860 --> 00:00:28,380
So now let's start out with how can create one of the basic blog project with using that Django.

8
00:00:28,950 --> 00:00:34,620
So for doing this, first of all, that is our exercise folder and into the exercise folder here I want

9
00:00:34,620 --> 00:00:37,460
to do to create one of the folder for our project.

10
00:00:37,830 --> 00:00:46,050
So I just simply create all the project and I just name it as my underscore Django underscore projects.

11
00:00:47,250 --> 00:00:51,960
That means all the projects related, everything I want to do and to create in particular that folder

12
00:00:51,960 --> 00:00:54,330
area as my Django projects.

13
00:00:54,360 --> 00:01:00,800
OK, so now I just simply create one of the folder and in particular this folder area I want to do and

14
00:01:00,810 --> 00:01:03,020
to create one of the project for our blog.

15
00:01:03,360 --> 00:01:03,640
Right.

16
00:01:03,720 --> 00:01:08,240
So if you want to create one of the project in Django, I think you already know about it.

17
00:01:08,490 --> 00:01:11,170
So I just simply added this CMB.

18
00:01:12,300 --> 00:01:17,060
So that is our appropriate file location that Benzino our exercise folder area.

19
00:01:17,070 --> 00:01:22,890
I have created the folder name as a My Django project and here I want to do and to create the project

20
00:01:22,890 --> 00:01:23,680
for our blog.

21
00:01:24,120 --> 00:01:29,220
So if you want to create that project, then you have to write down as a Django, I think you already

22
00:01:29,220 --> 00:01:31,590
know about it as a Django admin.

23
00:01:31,590 --> 00:01:37,220
And then is that project right then is that project?

24
00:01:37,230 --> 00:01:45,270
And I wanted to do and the name or project name as a my underscore blog, underscore project, whatever

25
00:01:45,270 --> 00:01:45,640
you want.

26
00:01:45,660 --> 00:01:48,460
Right now I just name it as a my block project.

27
00:01:48,840 --> 00:01:53,280
So now if you click on the enter automatically, it'll be created on the project in our particular date

28
00:01:53,280 --> 00:01:54,010
folder area.

29
00:01:54,030 --> 00:01:55,290
So now let's do that work.

30
00:01:55,290 --> 00:01:56,460
I just click on the enter.

31
00:01:58,280 --> 00:02:02,680
Now, you can see it's not perfectly clear that one of the projects so that is our project, I have

32
00:02:02,750 --> 00:02:08,060
just put that name as my block project, so that is on my block project, all that fine.

33
00:02:08,360 --> 00:02:09,740
And that is our managed by.

34
00:02:09,880 --> 00:02:10,190
Right.

35
00:02:10,670 --> 00:02:15,700
So now, first of all, I want to do I want to take this project folder to our editor.

36
00:02:15,740 --> 00:02:18,070
That means our ATM picture here.

37
00:02:18,470 --> 00:02:22,390
I just simply open our file and open folder.

38
00:02:22,910 --> 00:02:26,080
And now here I just want to select our D folder name.

39
00:02:26,690 --> 00:02:30,680
That means that is our block project that my general projects folder.

40
00:02:30,680 --> 00:02:31,700
And that is our project.

41
00:02:31,700 --> 00:02:32,000
Right.

42
00:02:32,190 --> 00:02:33,500
That is our my blog post.

43
00:02:33,600 --> 00:02:39,770
So now I just simply select this folder and now select this folder so you can see we successfully add

44
00:02:39,770 --> 00:02:42,830
our project to our Atem editor.

45
00:02:42,980 --> 00:02:44,930
So right now we don't need this.

46
00:02:45,110 --> 00:02:47,550
I just simply remove everything from here.

47
00:02:47,600 --> 00:02:51,500
OK, so that is our main espie and that is our main project.

48
00:02:51,530 --> 00:02:51,950
Perfect.

49
00:02:51,980 --> 00:02:53,910
So right now we don't need our previous one.

50
00:02:53,930 --> 00:02:56,180
So right now I just simply remove it from here.

51
00:02:56,720 --> 00:03:02,940
So now, friend, one of the things we will do will do our use our this editor, this ED terminal.

52
00:03:03,200 --> 00:03:06,210
So with this terminal, we can actually do every work.

53
00:03:06,240 --> 00:03:06,570
Right.

54
00:03:06,590 --> 00:03:08,320
So here we don't need to use this.

55
00:03:08,750 --> 00:03:10,640
So right now, I just simply close it.

56
00:03:10,640 --> 00:03:16,190
And here, if you want to run with our beep, and that means the package manager and be pleased if you

57
00:03:16,190 --> 00:03:21,980
want to check all that your installed back is so right here, you can see I have already installed all

58
00:03:21,980 --> 00:03:23,800
the packages of the jungle.

59
00:03:23,810 --> 00:03:25,210
I have already installed it.

60
00:03:25,460 --> 00:03:29,920
There is a pillow and as I told you before, pillories for the image packets.

61
00:03:29,930 --> 00:03:30,190
Right.

62
00:03:30,200 --> 00:03:32,690
So that is a pillow already installed.

63
00:03:32,960 --> 00:03:37,400
And here they have some Dorning that is actually vasin updated for the beep.

64
00:03:37,580 --> 00:03:43,580
So if you want to update the P version here, you have to run as a business update, be done automatically.

65
00:03:43,580 --> 00:03:44,540
It will be updated.

66
00:03:44,570 --> 00:03:46,360
So right now it's totally OK with me.

67
00:03:46,400 --> 00:03:50,900
So here I have already installed that pillar package, so that will be needed for our block project.

68
00:03:50,930 --> 00:03:54,770
OK, so if you don't, you already install it, make sure you install.

69
00:03:55,130 --> 00:03:56,180
So it's pretty simple.

70
00:03:56,180 --> 00:04:00,910
One of the command, you have to write down the beep and the install and then Pilo.

71
00:04:01,730 --> 00:04:05,670
So you have to write down as a beep in a below if you need to enter.

72
00:04:07,010 --> 00:04:08,750
So right now you can see snowshoeing.

73
00:04:08,750 --> 00:04:14,590
I have already recorded, already satisfied that since I have already installed that below.

74
00:04:14,630 --> 00:04:14,990
Right.

75
00:04:15,170 --> 00:04:19,980
And now I want to do for our this blog project, I want to create two different application.

76
00:04:20,240 --> 00:04:20,500
OK.

77
00:04:20,540 --> 00:04:23,790
So if you want to create that application, I think you already know about it.

78
00:04:24,080 --> 00:04:29,990
So now first of all, I don't want to create the application of the Python Python or by whatever he

79
00:04:29,990 --> 00:04:30,710
wants right now.

80
00:04:30,710 --> 00:04:38,360
I just better make that as a by and by our met with our main by with the menus, by the unduplicated

81
00:04:38,370 --> 00:04:40,310
of the application as a start up.

82
00:04:41,360 --> 00:04:41,710
Right.

83
00:04:41,720 --> 00:04:43,010
That is our start up.

84
00:04:43,040 --> 00:04:46,610
And then I want to create the application for the blog.

85
00:04:46,610 --> 00:04:50,270
And also I want to create another application for the logging.

86
00:04:50,510 --> 00:04:55,280
OK, so now I just simply first of all, add the name of the four hour authentication.

87
00:04:55,280 --> 00:04:56,780
That means a logging authentication.

88
00:04:56,780 --> 00:04:58,490
I name it as an app logging.

89
00:04:59,180 --> 00:04:59,690
Sorry.

90
00:05:01,850 --> 00:05:04,940
So I just name it as the app logging click as the enter.

91
00:05:05,390 --> 00:05:08,080
You can see our application is successfully created.

92
00:05:08,090 --> 00:05:09,500
So that is our app logging.

93
00:05:09,500 --> 00:05:10,650
So that is all that file.

94
00:05:11,030 --> 00:05:14,210
And also to create another application for our block.

95
00:05:14,390 --> 00:05:15,760
OK, then it should be better.

96
00:05:15,770 --> 00:05:17,860
So I just name it as a PI.

97
00:05:18,680 --> 00:05:28,010
So here we have to I don't the pie and then manage by and they start app and then I name it as an app.

98
00:05:28,880 --> 00:05:30,550
OK app on this one blog.

99
00:05:31,190 --> 00:05:37,010
So whatever he wants right now I just name it as a blog that means by managed by a startup and that

100
00:05:37,160 --> 00:05:39,620
that is our application name as the app block.

101
00:05:39,620 --> 00:05:45,200
Now enter can see consider is another application is created as a blog.

102
00:05:45,380 --> 00:05:45,730
Right.

103
00:05:46,040 --> 00:05:47,030
So it's perfect.

104
00:05:47,240 --> 00:05:49,640
So all that the block related everything.

105
00:05:49,640 --> 00:05:55,070
I want to add in our lease application area and also all that logging and authentication related.

106
00:05:55,070 --> 00:05:59,010
Everything I want to add, you know what, this app logging application area.

107
00:05:59,030 --> 00:06:01,420
OK, so for the reasons here, I have created both of this.

108
00:06:01,760 --> 00:06:07,580
There is a two application and also for our block project, we will need some of the common things.

109
00:06:07,580 --> 00:06:09,020
We need some of the template.

110
00:06:09,020 --> 00:06:09,480
Right.

111
00:06:09,500 --> 00:06:11,700
And also we need some of the static file.

112
00:06:11,990 --> 00:06:17,210
So for the reasons here, I want to do in particular this folder idea that Misener our main project

113
00:06:17,210 --> 00:06:17,600
area.

114
00:06:17,600 --> 00:06:22,000
I want to create one of the folder and I just name it as a template.

115
00:06:23,170 --> 00:06:23,410
Right.

116
00:06:23,900 --> 00:06:25,900
So I just created this folder.

117
00:06:25,910 --> 00:06:29,270
So in fundamental, I have already discussed about that things with your friend.

118
00:06:29,570 --> 00:06:31,100
So that is our templates folder.

119
00:06:31,100 --> 00:06:31,360
Right.

120
00:06:31,580 --> 00:06:37,970
So all that block related templates, I want to say in particular that folder area and also we need

121
00:06:37,970 --> 00:06:40,460
our aesthetic for save all that our jails.

122
00:06:40,880 --> 00:06:47,180
And then Sears's file for now in here, I want to create new another folder and I just name it as a

123
00:06:47,180 --> 00:06:47,720
static.

124
00:06:48,920 --> 00:06:53,630
So I just created one of the folder name as a static and also for the images.

125
00:06:53,630 --> 00:06:54,920
We need all the media.

126
00:06:55,280 --> 00:06:56,950
Right, trying not to create another.

127
00:06:57,470 --> 00:06:58,250
As a media.

128
00:06:59,090 --> 00:07:05,660
OK, so there is a three folder I have created, one is the template for save all the template that

129
00:07:05,750 --> 00:07:11,700
is static for our success and the Jésus and then images for the images I have created the media.

130
00:07:12,140 --> 00:07:14,200
So after that, what exactly we have to do?

131
00:07:14,450 --> 00:07:17,960
So here I have created or two of these applications.

132
00:07:17,990 --> 00:07:20,830
Our first work is to we have to install it, right.

133
00:07:20,840 --> 00:07:25,430
We have to install it in our main project and go to the settings right now here.

134
00:07:25,430 --> 00:07:26,210
We don't need this.

135
00:07:26,870 --> 00:07:30,760
The sitting area here we have to do we have to add both of this.

136
00:07:30,770 --> 00:07:33,540
That means here, you know, in this Trollope area, we have to add it.

137
00:07:33,890 --> 00:07:40,220
So now I just simply add both of this, first of all, will be as a app, underscore logging.

138
00:07:40,820 --> 00:07:46,810
And then also I have created another application as an app under escort who blog.

139
00:07:47,210 --> 00:07:47,600
Right.

140
00:07:47,630 --> 00:07:50,000
So make sure you add both of these.

141
00:07:50,450 --> 00:07:54,770
And also after that, we have to do we have to add that all in our ways.

142
00:07:54,770 --> 00:07:59,580
That means here I have created three of these folder as a media static and that template.

143
00:07:59,840 --> 00:08:02,510
So here we have to add that in our weights area.

144
00:08:02,520 --> 00:08:02,860
Right.

145
00:08:02,870 --> 00:08:07,070
So so that is the basic things I have already discussed about the things we do.

146
00:08:07,340 --> 00:08:11,390
So right now we are just do that work against I just name it as a template.

147
00:08:12,530 --> 00:08:12,890
Right.

148
00:08:12,900 --> 00:08:19,400
So the template and it should be the template is directly and then here it will be as always.

149
00:08:19,820 --> 00:08:25,970
That means our worst part is I just simply added our waste path and here I want to join.

150
00:08:26,480 --> 00:08:30,100
So I just simply join our D gameplay director rewrite.

151
00:08:30,110 --> 00:08:34,780
So here that will be as a base directly as a big victory.

152
00:08:34,940 --> 00:08:38,420
And here also have to do have to add our folder name.

153
00:08:38,430 --> 00:08:40,760
So I have created on the folder name as a template.

154
00:08:40,760 --> 00:08:42,170
So now here we have to add it.

155
00:08:42,170 --> 00:08:43,730
So just name it as a template.

156
00:08:45,160 --> 00:08:46,850
OK, that will be our templates.

157
00:08:46,850 --> 00:08:47,350
Perfect.

158
00:08:47,360 --> 00:08:51,680
And also here I have created another tool of this as a static and the media.

159
00:08:51,680 --> 00:08:58,220
First of all, I want to take that already static folder that needs static directly is static, underscore

160
00:08:58,230 --> 00:09:06,050
directly and then here with the same with the EU's spot here we have to do we have to join.

161
00:09:06,650 --> 00:09:14,450
I just simply joined our base directly into the basically our folder name as a static site as simply

162
00:09:14,450 --> 00:09:17,010
as that is static and also for the media.

163
00:09:17,840 --> 00:09:23,270
So just name it as a media underscore directly for the media delivery.

164
00:09:23,300 --> 00:09:29,540
I have also created another one since the way yeah, we have to import, I just name it as a pop and

165
00:09:29,540 --> 00:09:35,360
then join and then our base right into the base directly here.

166
00:09:35,390 --> 00:09:38,780
I just simply name it as a media perfect.

167
00:09:38,800 --> 00:09:41,340
So here, make sure you add both of these.

168
00:09:41,630 --> 00:09:43,250
So I just simply add our part.

169
00:09:43,250 --> 00:09:48,470
That means that this template, Bob, I just baked that things with our template victory and for the

170
00:09:48,470 --> 00:09:53,990
static, I just name it with already static directly and for the media, I just name it with our media

171
00:09:53,990 --> 00:09:54,590
directories.

172
00:09:54,920 --> 00:09:57,470
So now here we have to do we have to add it.

173
00:09:57,480 --> 00:10:03,470
That means that Stamper's directly we have to add in our template area in this template that is our

174
00:10:03,470 --> 00:10:04,190
direct rewrite.

175
00:10:04,220 --> 00:10:05,970
So here I just simply add it.

176
00:10:06,020 --> 00:10:09,670
So here I just simply update our template root file.

177
00:10:10,100 --> 00:10:16,510
And also we have to do we have to update our strategy or else also what the static you are out here,

178
00:10:16,510 --> 00:10:17,260
as I told you.

179
00:10:17,540 --> 00:10:19,770
So here it will be at a static files.

180
00:10:20,230 --> 00:10:20,550
Right.

181
00:10:20,570 --> 00:10:25,820
So just tell me that these static files underscore directly.

182
00:10:26,840 --> 00:10:31,920
And here I just simply want to do want to pass our static directly on here.

183
00:10:31,940 --> 00:10:35,150
That means I have already put that bad link.

184
00:10:35,870 --> 00:10:39,120
So that is our part of being as a static victory.

185
00:10:39,260 --> 00:10:44,040
So, no, I just simply pass it through will be as a static detector.

186
00:10:44,510 --> 00:10:44,960
Perfect.

187
00:10:44,970 --> 00:10:45,220
Right.

188
00:10:45,530 --> 00:10:49,010
And also for the media here, also, we have to do we have to add it.

189
00:10:49,280 --> 00:10:51,230
So that will be as a static.

190
00:10:51,230 --> 00:10:55,880
And then I want to work for all media betrayal of most of the comments for you.

191
00:10:56,060 --> 00:10:57,730
That will be for our media.

192
00:10:59,720 --> 00:11:01,870
That will be for the media and for the media.

193
00:11:01,880 --> 00:11:06,400
It will be as a media route, vast media underscore route.

194
00:11:07,670 --> 00:11:10,760
And then here we have to pass our media directories.

195
00:11:11,780 --> 00:11:13,940
So that will be our media directly.

196
00:11:13,940 --> 00:11:17,390
And also we have to add another one as a media, you are right.

197
00:11:18,080 --> 00:11:21,200
So I just simply added as a media underscore you Warrell.

198
00:11:21,680 --> 00:11:25,940
And here for the media you have already created as a media.

199
00:11:25,940 --> 00:11:27,350
So you will be as a media.

200
00:11:27,360 --> 00:11:30,560
So I just simply add as a media on here.

201
00:11:30,860 --> 00:11:32,980
So that will be as a media perfect.

202
00:11:33,290 --> 00:11:35,990
So that's all that initial set up.

203
00:11:35,990 --> 00:11:36,230
Right.

204
00:11:36,530 --> 00:11:38,630
So that's all that initial set up for.

205
00:11:38,630 --> 00:11:39,740
Is that our project?

206
00:11:39,770 --> 00:11:45,290
So here we successfully created both of these on the app, both of this application.

207
00:11:45,300 --> 00:11:48,650
One is that our blog application and then app logging.

208
00:11:48,650 --> 00:11:54,740
And here in our setting, we have already started and also we updated our part.

209
00:11:55,100 --> 00:11:56,510
That means here to have created on a.

210
00:11:56,580 --> 00:12:03,080
The folder as a template is static media, so here I just, first of all, add that all that root victory,

211
00:12:03,360 --> 00:12:07,450
that means our main base, the simply added with our Tampa director area.

212
00:12:07,490 --> 00:12:10,030
So here we complete our total set up.

213
00:12:10,050 --> 00:12:12,090
So now we are ready to start our project.

214
00:12:12,100 --> 00:12:14,980
And here right now, we can access our models.

215
00:12:14,980 --> 00:12:18,570
So how can create some of the models for our this blog project?

216
00:12:18,780 --> 00:12:22,000
You know, next video, I will show that things with the live example.

217
00:12:22,380 --> 00:12:26,020
So right now I just click as a Savol and everything is ready to go.

218
00:12:26,430 --> 00:12:29,760
So thanks for watching and I will see you in the next video.
