Hello, friend, welcome back in this video to a new session is about how can create one of the best
blog project with using that Django.
So I told a friend in this course will create three different project.
One will be as a blog project and one of the social media project and also another basic e-commerce
project.
So step by step, will build it.
So now let's start out with how can create one of the basic blog project with using that Django.
So for doing this, first of all, that is our exercise folder and into the exercise folder here I want
to do to create one of the folder for our project.
So I just simply create all the project and I just name it as my underscore Django underscore projects.
That means all the projects related, everything I want to do and to create in particular that folder
area as my Django projects.
OK, so now I just simply create one of the folder and in particular this folder area I want to do and
to create one of the project for our blog.
Right.
So if you want to create one of the project in Django, I think you already know about it.
So I just simply added this CMB.
So that is our appropriate file location that Benzino our exercise folder area.
I have created the folder name as a My Django project and here I want to do and to create the project
for our blog.
So if you want to create that project, then you have to write down as a Django, I think you already
know about it as a Django admin.
And then is that project right then is that project?
And I wanted to do and the name or project name as a my underscore blog, underscore project, whatever
you want.
Right now I just name it as a my block project.
So now if you click on the enter automatically, it'll be created on the project in our particular date
folder area.
So now let's do that work.
I just click on the enter.
Now, you can see it's not perfectly clear that one of the projects so that is our project, I have
just put that name as my block project, so that is on my block project, all that fine.
And that is our managed by.
Right.
So now, first of all, I want to do I want to take this project folder to our editor.
That means our ATM picture here.
I just simply open our file and open folder.
And now here I just want to select our D folder name.
That means that is our block project that my general projects folder.
And that is our project.
Right.
That is our my blog post.
So now I just simply select this folder and now select this folder so you can see we successfully add
our project to our Atem editor.
So right now we don't need this.
I just simply remove everything from here.
OK, so that is our main espie and that is our main project.
Perfect.
So right now we don't need our previous one.
So right now I just simply remove it from here.
So now, friend, one of the things we will do will do our use our this editor, this ED terminal.
So with this terminal, we can actually do every work.
Right.
So here we don't need to use this.
So right now, I just simply close it.
And here, if you want to run with our beep, and that means the package manager and be pleased if you
want to check all that your installed back is so right here, you can see I have already installed all
the packages of the jungle.
I have already installed it.
There is a pillow and as I told you before, pillories for the image packets.
Right.
So that is a pillow already installed.
And here they have some Dorning that is actually vasin updated for the beep.
So if you want to update the P version here, you have to run as a business update, be done automatically.
It will be updated.
So right now it's totally OK with me.
So here I have already installed that pillar package, so that will be needed for our block project.
OK, so if you don't, you already install it, make sure you install.
So it's pretty simple.
One of the command, you have to write down the beep and the install and then Pilo.
So you have to write down as a beep in a below if you need to enter.
So right now you can see snowshoeing.
I have already recorded, already satisfied that since I have already installed that below.
Right.
And now I want to do for our this blog project, I want to create two different application.
OK.
So if you want to create that application, I think you already know about it.
So now first of all, I don't want to create the application of the Python Python or by whatever he
wants right now.
I just better make that as a by and by our met with our main by with the menus, by the unduplicated
of the application as a start up.
Right.
That is our start up.
And then I want to create the application for the blog.
And also I want to create another application for the logging.
OK, so now I just simply first of all, add the name of the four hour authentication.
That means a logging authentication.
I name it as an app logging.
Sorry.
So I just name it as the app logging click as the enter.
You can see our application is successfully created.
So that is our app logging.
So that is all that file.
And also to create another application for our block.
OK, then it should be better.
So I just name it as a PI.
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.
OK app on this one blog.
So whatever he wants right now I just name it as a blog that means by managed by a startup and that
that is our application name as the app block.
Now enter can see consider is another application is created as a blog.
Right.
So it's perfect.
So all that the block related everything.
I want to add in our lease application area and also all that logging and authentication related.
Everything I want to add, you know what, this app logging application area.
OK, so for the reasons here, I have created both of this.
There is a two application and also for our block project, we will need some of the common things.
We need some of the template.
Right.
And also we need some of the static file.
So for the reasons here, I want to do in particular this folder idea that Misener our main project
area.
I want to create one of the folder and I just name it as a template.
Right.
So I just created this folder.
So in fundamental, I have already discussed about that things with your friend.
So that is our templates folder.
Right.
So all that block related templates, I want to say in particular that folder area and also we need
our aesthetic for save all that our jails.
And then Sears's file for now in here, I want to create new another folder and I just name it as a
static.
So I just created one of the folder name as a static and also for the images.
We need all the media.
Right, trying not to create another.
As a media.
OK, so there is a three folder I have created, one is the template for save all the template that
is static for our success and the Jésus and then images for the images I have created the media.
So after that, what exactly we have to do?
So here I have created or two of these applications.
Our first work is to we have to install it, right.
We have to install it in our main project and go to the settings right now here.
We don't need this.
The sitting area here we have to do we have to add both of this.
That means here, you know, in this Trollope area, we have to add it.
So now I just simply add both of this, first of all, will be as a app, underscore logging.
And then also I have created another application as an app under escort who blog.
Right.
So make sure you add both of these.
And also after that, we have to do we have to add that all in our ways.
That means here I have created three of these folder as a media static and that template.
So here we have to add that in our weights area.
Right.
So so that is the basic things I have already discussed about the things we do.
So right now we are just do that work against I just name it as a template.
Right.
So the template and it should be the template is directly and then here it will be as always.
That means our worst part is I just simply added our waste path and here I want to join.
So I just simply join our D gameplay director rewrite.
So here that will be as a base directly as a big victory.
And here also have to do have to add our folder name.
So I have created on the folder name as a template.
So now here we have to add it.
So just name it as a template.
OK, that will be our templates.
Perfect.
And also here I have created another tool of this as a static and the media.
First of all, I want to take that already static folder that needs static directly is static, underscore
directly and then here with the same with the EU's spot here we have to do we have to join.
I just simply joined our base directly into the basically our folder name as a static site as simply
as that is static and also for the media.
So just name it as a media underscore directly for the media delivery.
I have also created another one since the way yeah, we have to import, I just name it as a pop and
then join and then our base right into the base directly here.
I just simply name it as a media perfect.
So here, make sure you add both of these.
So I just simply add our part.
That means that this template, Bob, I just baked that things with our template victory and for the
static, I just name it with already static directly and for the media, I just name it with our media
directories.
So now here we have to do we have to add it.
That means that Stamper's directly we have to add in our template area in this template that is our
direct rewrite.
So here I just simply add it.
So here I just simply update our template root file.
And also we have to do we have to update our strategy or else also what the static you are out here,
as I told you.
So here it will be at a static files.
Right.
So just tell me that these static files underscore directly.
And here I just simply want to do want to pass our static directly on here.
That means I have already put that bad link.
So that is our part of being as a static victory.
So, no, I just simply pass it through will be as a static detector.
Perfect.
Right.
And also for the media here, also, we have to do we have to add it.
So that will be as a static.
And then I want to work for all media betrayal of most of the comments for you.
That will be for our media.
That will be for the media and for the media.
It will be as a media route, vast media underscore route.
And then here we have to pass our media directories.
So that will be our media directly.
And also we have to add another one as a media, you are right.
So I just simply added as a media underscore you Warrell.
And here for the media you have already created as a media.
So you will be as a media.
So I just simply add as a media on here.
So that will be as a media perfect.
So that's all that initial set up.
Right.
So that's all that initial set up for.
Is that our project?
So here we successfully created both of these on the app, both of this application.
One is that our blog application and then app logging.
And here in our setting, we have already started and also we updated our part.
That means here to have created on a.
The folder as a template is static media, so here I just, first of all, add that all that root victory,
that means our main base, the simply added with our Tampa director area.
So here we complete our total set up.
So now we are ready to start our project.
And here right now, we can access our models.
So how can create some of the models for our this blog project?
You know, next video, I will show that things with the live example.
So right now I just click as a Savol and everything is ready to go.
So thanks for watching and I will see you in the next video.