Hello, friend will come back in a previous video, we successfully complete our social media project,
so now we will start another project and that will be one of the e-commerce brozak.
So step by step now we will build it.
So for doing this, first of all, I want to do want to create one of the projects.
So if you want to create that project, then I think you already know about it.
So now I want to create this project in our exercise file.
That means in our text of our exercise file.
And here I have already created two of this project.
One is the Block Project and is a social media project right now.
In particular that area, that in particular this folder, radio and to create another project.
So here I just simplified the CMD and now here I want to create one, the project.
So if you want to create one of the project, then what exactly you have to do?
I think you already know about it.
So you have to define the Django, right?
That's Django and then admin.
And then I just define as we start a project.
Right.
That is a step project.
And now I want to define the project as in my econ and research project.
Right.
So here I define the project as a Django admin and instead Bozic and my e-commerce project.
So automatically it will be created on the project, in particular that folder area that is here.
Right.
So now I just want to do and enter and I can see is automatically created one of the project in our
particular doubtful that area.
And that is our project as a Micromax project.
Right.
So now, first of all, I want to on to take this project in our Atem.
So that was our before project.
And I want to create a new open folder and that is our exercise folder.
And here now I am to do and to select out this folder.
That is my e-commerce project that I have created.
And I just opened this project.
So here I have added so that we don't need this occlusal.
I remember everything so that all the default things.
So I just simply will be here and will be it and will be.
So that is our new project as a Michaelmas project.
And here there is are all that folder and that is our managed by citing you already familiar with this
structure.
Right.
So now, first of all, I want to do want to create some of the essential folder that will be needed
for our project.
So first of all, I don't want to create one of the folder.
So here I create the folder as a template.
So everything I have already discussed about the things we do right there is a template.
And also I want to to create another folder as a media.
So I just simply defined the media folder.
And also I want to create another one for the static, all that file.
And I just named it as a static right.
Print.
And now what exactly we have to do.
We have to add all that, our media static and the template in our office.
So go to our project and go to the setting.
And it is the sitting area, so that is our imports, we have to import our everything on here.
So now, first of all, I wanted to import our template rights templates underscored today.
And then we have to define that always and then our part.
So here is part we have to define state assembly differences apart and then join and join with our base
directly.
So that is our best victory and the best.
Basically, we have to define our full name.
I have already created the folder as a template, so I just simply defined the template template.
Perfect.
And also I have to do I have the joint for our static folder see static and there is contradictory and
then or and then part and then join with our base directory.
So here I define as a major victory and here we have to do we have to define that our folder name.
So I just simply define that folder name on here as a static.
So that is static folder.
And also there is another one as a media.
So there will be as a media directory, media underscore the idea and then the OS and then part and
then join and join with our base directly.
And here we have to defend our folder name as a media so we don't have to do we have to add our this
template directly.
We have to add this template directly in our templates area.
So that is our victory here.
We have to defining it and also we have to create another order that is already static.
So here we have to do we have to define all these static files directly.
Right.
Static files underscore directly, so I guess somebody finds a desire and then here we have to define
our static directories.
So I just simply defined as static.
So that will be always static directly so and also for the media.
So here I also want to do included our media.
So better to put the note for you.
So you should be as a media, Rachel, we are the media and for the media we have to do we have to define
the two things.
One will be as a media route.
They just simply defined as the media and then enter the square root.
Right.
So the result will be our media old media outlet will be our media story media directly.
And also we have to define our media.
You are the media underscore you are.
And that will be our media.
You are a pop star, have already defined this spots.
So that will be in our media.
So to simply defend that media and also another one for logging you else.
So I just funded a logging logging under escort you all and for the logging.
All right.
Now I want to learn to make that things as empty.
OK, so here we will add that things later.
So that's all you have to do.
That is all logging.
You are real media, you real media root that is static, all the data.
Right.
And also and I have defined our every voice on particular that position.
Perfect.
And also here I want to do want to add our Quispe form.
So if you want to add that Quispe form, that means here we have to add that is the only Nestel up.
So we have we already did this work.
We know this project idea.
If you go into the setting and with the setting here, you can see we already did the same thing.
So that is our case.
Sorry, better.
I just simply copy it and now I want to do anyway, I played on here and also for the case.
We have to define our template in the Quispe template back.
So for now I just copy it.
And here after this I just simply paste it.
OK, this will be also as a bootstrap for and now I want to do I want to create works on the project.
That means one of the applications so far.
Now for this project, I want to create two application.
One will be our logging authentication will be needed.
And also for the ecommerce, I want to create another application.
So for now here, I want to do and define that name.
So I just name it whether fi I think you already know about it, how if you want to create any kind
of application, then you have to define as a BI and that man is not pie and then you start app and
I just named this as the app underscore logging.
OK, just name it as the app unless you're logging so noncyclical they enter now you can see it's not
created.
One of the application I have defined that name as an app logging.
So no, I want to create another one for our e-commerce.
So I just simply defined as a by and then managed by and the restart app and I just named it as the
app underscore shop.
OK, I just name it for the e-commerce.
I have defined that another application name of the app shop now because I enter.
Yeah.
Now it's now created another application as the app shop.
So now we have to do we have to also add to this, we have to add two of these in our setting into the
seating area.
So after this I want to add first of all, that will be as an app underscore logging.
Right.
And also that is another one I have created.
So now also we have to defining it.
So here we have to define the app underscore shop.
So I just defined both of this on here.
Perfect's not one to do and to create some of the already static base that we see in our template.
So into the template area, I want to create two have this folder and I just named one will be as the
app logging, but I live in the same name, so that will be the Lockie.
OK, I did the front of the folder, name of the app logging and also I to create another folder and
just name it will be on the app shop.
That means all that our shop related esteemable file I want to save on here and also all that.
I'm logging that in the authentication related all that file I will say in our particular that folder
area and also we need our business HTML.
Right.
That means in our Tampa area I want to create new file and I just name it as a base dot as HTML.
And also we need another one after that logging.
I will need our neighbor Sue Silva, just like that same that we have already done in our previous section.
I name it as a neighbor, but not SGML.
OK, a friend and also in Know Static's into the study area.
I want to do to create one of the folder and I just named that folder as a CSIS, seem to the Sears's
folder and to create the file and I just name it as a main OK main DOCSIS.
So this type of the file I just said.
Defining it on here and also now we have to do we have to say to our you are that means, you know,
our main application that is are you are so here right now, we don't need this say to simply remove
it.
So here also, you have to define that.
Some of the things, if you want to, working with the images you have, you have to include that in
class and also the static.
So she'll be just like the same what exactly we did before for our social project like here right now,
if you go to our model, that means in our social project into the setting.
And that is actually you are still looking into that.
You are still here.
You can see we need actually this both of this.
But I just simply copied both of these.
And now here after this, I just simply defining it, OK?
And also after that, after that part, we have to also include our include function that means here.
So I just simply copied it.
And now here after that, I just simply include it.
And then also we have to do we have to define our two of these.
That means the order patterns so better.
I just simply copy.
And now here after that, I just simply paste it.
So there's all that functionality I have already discussed about the things we do.
Right.
And so if you want to use some of the images, then you have to add most of this and then we have to
do we have to create our mapu or else that means in our applications into the application.
I want to do want to create new file and I just name it as you.
What else?
OK, what is Fi?
And also in our app shop here, I want to create another file as a URLs and Dot Lotfy.
Right.
So right now there is a Bedstemor.
We don't need these so you just simply remove it from here.
So that is our main YORO.
That means that is a positive.
And now here what exactly we have to do, we have to include first of all, so here first of all, we
have to include that is our app logging's.
So here that form and then Django, the Django and then what else?
And frankly, you also have to import our part.
So just simply define the path.
Right.
And also we have to define our views.
That means in our app logging here, there is a view file.
So now I also want to do that work as a form and then our app logging.
So from the app logging here, I want to import, so import and import our views.
So just simply define that views.
OK.
And also after that we have to define that our name.
That means our app name.
I just simply define that app name.
And here I define that app name as the same as an app.
Underscore logging and then we have to define our pattern so that you are a partner right now and to
make that things as they empty.
And also we have to do the same things.
We have to add the same things for our app.
That means the app shop and that is our URLs.
So better here.
I just simply pestiferous will be added that Django you are.
That is a part.
And then this should be as the app and recycle shop.
Right.
The app shop from here and the import that views that means that to the viewers.
OK, so that is up to the viewers.
And in our app name here, I define that app name as an app underscore shop.
Right.
And then that is our you know, I just click to save all perfect.
So now we have to do we have to add both of these, we have to include both of these in our main you
what that means in our project into the project that is already you are.
So you I want to define two of these parts the better.
I just simply copied and that part will be for one will be for our home directly and into the home directly
here.
I want to do and to include OK, I want to include an interesting position.
I want to include our app.
That means our app shop.
So here, define that shop so into the app shop and that is that you are right.
So that is our URLs and also and did find another part.
I want to define another part and this one will be for our logging.
And here I define as the account.
OK, I define as an account slash and then that will be include our app login app.
Underscore logging.
Right.
That means our app logging URLs.
So that is our app logging and that is our URLs.
So that's all actually for our set up.
Right.
So here we successfully set up our total project.
So now step by step, we will go more deep in our next video I want to do to create one of the model.
And this model will be a little bit different from our previous ones.
You know, five years, all the U.S. will use that model for create our existing database.
That means our building database that is provided by the tango's.
So here we use that default.
All that functionality is right now for our e-commerce.
I want to update our building admin dashboard so we can do that work in our next video.
I will show you that things with a live example.
So thanks for watching.
I'll see you in the next video.