Hello, friend, welcome back.
In a previous video, we successfully make dynamic our client Pushtuns, right, so now we can actually
manager all the clients from your back end.
So now in this video, I want to do want to work toward another piece as a contact piece.
If you go to that contact, since the contact with what exactly we did, like if you we don't need this,
I just simply remove everything from here.
OK, so, you know, index based space into the index.
If you go to that wall and into the wall here, you can see there is a clear path as a contact us into
the view that is our contact as one of the function and the function area if you go to that view.
And here.
So that is our contact us.
Right.
So here I just simply loaded our contact e-mail.
That means I just simply return all of the radar contact stable.
That means that is our template in the template.
That is a contact notice.
And here I extended our layout, that e-mail and then our blog for the title and then blog for our content.
Right.
So now you can see our that is our layout is visible.
That means in the layout of the header part of the future part.
And that is our main content part.
That means our block content.
So now I want to do I want to update it if you want to.
But is it pretty simple?
I think you already know about it.
What exactly you have to do, like in our template, if you go to our contact between the contact base
here, I only want to take out this main part.
Right.
So I want to take this part.
So if you want to take it, first of all, you have to do have to open our contact.
What is HTML now?
That is our contact e-mail.
I open it, so I simply open it.
OK, so do the content of this general here.
I think you will remember that part.
So I have already added all that.
Our success there is our body header parts.
I have already added that things in our layout area.
Right.
And also the layout that is our main but the main idea, if you open our layout in the layout area,
you can see I have already added our body.
That is total menu and I have already added our main ID.
That means our main idea have added and that is actually in our block content part.
So now I want to do I want to actually take our after this main part.
That is our bottom.
OK, so from here I want to actually select everything.
So I just select everything that is our future apart.
So before this main.
Before this main, that is our end content section, I just simply copy it.
And now in our contact e-mail here into the block area, I just simply paste it.
Right.
So I just simply put it on here so that, no, we don't need this, I remove it.
And now if you click on the table and now if you refresh our pace, that means that we are contactors.
Basically the refresh.
Yes, you can see it's pretty simple, it's totally updated, so that is all that location, email and
the contact and they have also on the phone, everything is now pretty well.
So, Fred, before I have worked for our index, please write for the index page.
I have created one of the apps.
Right.
I have created an the application for a specific this index.
So better for the contact piece I want to do and to create another application, then it shall be better.
So if you want to create this new applications right now, that is our index.
So everything index related, that means home that everything home related, everything I want to save
in our this application that the index application.
And so now I want to do work for our contacts, for the contact.
I want to create another app so our servers running and then our in particular that area.
So here I want to do I want to create another application.
So if you want to create that application, I think you remember that things that what exactly you have
to do, you have to write down the Django and Django and then admin and into the Django that mean that
it is set up.
And then I name it as a whatever you want.
So now I just name it for contact.
OK, so I want to create one of the application.
Our application name will be as a contact.
So now if you click as they enter.
No will be created one of the folder in particular, that area as a contact, right?
So now you can see it's not perfectly clear that one of the application or application names I just
added as a context.
That is our contact.
Perfect.
So now I want to go and actually change it.
So far, our first work is we have to do our first work is we have to add our visa application in our
main portfolio setting.
Right.
So the main portfolio settings here, we have to do.
We have to adapt.
So I just simply copied it and here it will be.
I have created our this application name as a contact.
Sorry.
So that is our application name.
I just simply added in our setting.
So make sure you added.
So that is our first work site to simply remove it and then also into the contact area near the contact
area.
I want to create one of the U.
URLs because of fall into the application area that have no you are only the to the view file.
So now I have to do want to create one of you or else that means that you are.
I'll start by.
Right.
So that will be all you are judged by.
So before I have already loaded our contact in our index and I want to do and actually change it.
So if you want to change it, what exactly you have to do, like in our index, that is our index.
You are also better.
I just copy everything from here.
OK.
So right now we don't need this contact.
So for the contact I have created and other new applications for our intranet in our D.C. area, that
means in our contact and the contact, the URL here, I just simply passed it so far and I hope you
already know that what exactly you have to do.
So that is our Jianguo.
You are is that is our input part and that is our input, our view.
That means there is a clear view.
OK, so right now here we don't need this.
Also you don't need this.
I just simply remove both of this here.
I only want to do I want to load our part.
That will be as a contact us that the contact is perfect.
So that is our sister and our application.
And now also in our mind, that means our main portfolio.
That is our main one that you are in Syria and into the you are in Syria.
We have to do we have to create a new one.
So before I have created an application for the employee.
So no, I don't want to add our new one.
That means here I will default.
I name it.
I name it as a like contact us.
OK, say just name it as a contact us.
And I want to include our which one.
I want to include our contact.
You are right.
That means this contact you are I want to include in our main part and so on.
That means here I name it as a contact.
That is our contact.
All right.
Friend, I hope is very much clear to you.
So now what exactly shall we do?
Is should be a talking point.
You should be contact then it should be included.
Are contacting Warrell.
That means this contact and that is actually contact you.
All right.
Simply the contact you are allowed to do and to make the things as they are home that will be are contact
all home.
And in the view area, I want to do I want to create one of the method as a contact us and there is
a clear name.
So I have already created this method before, you know, our index.
That means into the index.
If you go to that our index view here, you can see I have already created it.
So right now we don't need this.
I just simply got it from here and now in our contact, in our contact view here, I want to do and
actually created.
OK, so by default they have the render.
So with this sender, I simply requested in order it should be directed to our contact toddies.
Tamalpais.
OK, so now I just make as individual for the contact base.
So right now I just simply remove everything.
OK, I just simply remove everything, so now we should be very much clear, too.
So what exactly did we add our setting and what area?
I just added our contact, as include our contact else there.
It should be devoted to our this contact and then contact me.
What else happens here.
So this will be as a home, OK, that means the contact home and then into the view input view into
the contact.
There is a cloud around the methode as a contact cosmetologists name that popped as a contact.
OK, that means used to be addicted to our views.
So do the views.
So, you know, contact views.
So that is our request.
And then we've done render with this request SDMI that the contact or e-mail.
So it will be loaded.
Everything will be just like the same.
Now I just click to save all.
And now, first of all, I want to check our server servers running well and now if you go home.
That is our home base, and if you go to that contact, yes, you can see it's pretty much the same
things, but right now that is actually loaded with our different one of the individual applications.
I hope Fran is very much clear to you.
So now that is our contact base is successful with that work.
So now in our next video, I want to do I want to actually create another table.
I want to create another table for the contact and this part that the location that email the call.
So everything I want to do on the monazite from our back in the for the reasons here we have to do we
have to create on the table.
So how can do that work.
How can make this part as dynamic.
You know, next video, I will show you that things with a live example.
So thanks for watching and I'll see you in the next video.