Hello, friend, welcome back.
In a previous video, we successfully complete our default authentication system, that means right
now we can register someone, the user and and also we can able to login.
And when this user is logging, I set up, it will be added to our account.
It pays.
So now is not should be rejected.
Our particular displays, it will be rejected.
One of the home page and in our home base where all that our user posts will be visible because of all
here I want to do and to create one of the social media projects.
So for checking this, I am actually using it right now for user post.
I want to do I want to create another application.
So before for authentication related everything I already did in this application area.
That is your app logging.
Right.
So right now we don't need this I we move everything.
So first of all, I don't want to create one of the application for our post.
That means all the postulated everything I want to set up in our this application.
So first of all, I don't want to create another applications.
If you want to create that application, I think you already remember that part that is our pie and
then managed by
this pie.
And then we start up the start app I want to do and to create one of the application name as the app
underscore post.
OK, I name it as the app underscore post.
So that will be our application that will be created, our application as a pie and as by and they start
up and our name will be as a post now if they enter.
Legacy is now successfully created our new application, that is our new application as the post, right.
So when you create a new application, I think you already memorized, what exactly are FastTrack are?
Our first work is to we have to install it, right?
You have to install it in our main setting.
That means into the settings and then have our install app.
So here I am to do and to load it.
I copied and pasted.
It will be as opposed.
I name it as the app underscore post.
Right.
That will be our first word.
So I instantly now click the save.
All right.
Now we don't need it.
I remove it, OK.
And after that also we have to do we have to create one of the you what that means in our app.
Osteria we have to create one of the UI because we have two mapping already.
All that means it will be as you are to start by.
Right.
That will be our start by and then if you create it then we have to do we have really started that means
in our this position, in our main project that you are.
So here we have to include it right now.
I do the same thing.
This will be the comma.
And then I passed it.
And also I want to do it will be our main part will be as a post.
And then here we have to include we have to include our what we have to include our apples into the
apples post.
I have already created all the what else will be our app underscore posts.
Right.
That will be our app.
You are perfect.
So now I want to do you know what app post and that is all you want to also hear better from what app
logging you order.
I copy everything from here, ok, I copy everything.
And now in our app post I post it so it will be loaded, our default one in our path.
And also right now that is our opposers will be as opposed opposed to from to the app.
I input that views that apples.
That is our views.
Right.
And also to do and to add on of the name, our app name will be our app post, I name it with the same
name.
And here we have to do we have to add all that our pop.
Right.
So right now I remove it, I make that things as a clean.
So no I can because I save all is perfect.
So now I want to do if you go to our home, that means first of all, you have to work for our home.
You can see the for the home.
I didn't create any part.
Right.
So here what I want to do and to load one of the home base.
So if you want to do that work, uh, like in our apples into the app Australia Apples Deverill area,
I want to create one of the pot and I name it as a part because of all I have already input our default
but right.
So with this party you can add one of the base will be as a slash.
That means you should be empty because of all you our menu.
Well it should be as a post that is, that will be our main home.
So now I want to make it as empty and then in our views, sorry, then in our views into the viewing
area, I want to create one of the function as a home function and then also name it, and I name it
as a home.
That means our name will be as a home.
I hope it's very much clear to friend and also this link that means here I have already created our
home part and now we have to create our these functions before adding that function.
I want to load it that in our menu area, that Benzino neighbour into the neighbour that is our home.
So now I want to do and update our Etoile.
So if you want to update that you are what exactly you have to do, you have to put as you are L and
then into the you are an area.
I have already created our part so that will be our app name.
Our app name is the app post and then our home.
Right.
That will be the apples and the apples that will be our this home.
So now I first of all put that link in our menu area that will be our home.
Right.
So now you know what else into the you are ill.
That is our main witness will be, as the motives be to our viewers home, that means home methode.
So now, first of all, I don't want to create our dysfunction.
That means you are opposed if we go to that views.
So here I am going to create this function.
So that will be in our from and from the Django, from the Django.
Then the shortcut right from the shortcut.
I want to import one of those TDP response that will be this GDP and then response.
OK, that will be a pretty big response, so now I want to do I want to actually load our this with
this response.
I want to read on some of the data.
So I take on the function, our function name.
I have already declared it.
It will be as a home.
Right.
So, no, I don't want to create this function.
It will be as a home.
And then here we have the power that our request and then I don't want to return it.
And that means a return with our EDP response.
It should be displayed on the name.
It should be displayed as a home.
OK, so this will be display this type of one of the name.
So now if you want to access it, like I just click the save all if you want to know X's or this on
what exactly we have to do, we have to go to our this post and after this post then it'll be redirected
to our airport.
And that you are.
That means that is our airport is subjected to our DC warrell.
It will be as empty.
So when it will be as empty then it it'll be elected to our home.
Right.
So now let's check this out.
If you know, click refresh.
And now if you after that, if you put that as a post, sorry, that will be at the post.
OK, that will be the post of the enter.
Yes.
Now, the feel now is showing up at this home because of all I have already declared that when you with
the empty mean are many waterlily.
I loaded our posts after that pulseless that it's rejected or include app opposed and the you order.
That means I posted and here with the view I load one of the function as a home.
That means, you know, apposed that is our views, that is our home.
I return all of this to the president's name.
That is our home consistent, showing us at home.
But our home page not should be displayed without this.
Right?
So here I only want to do it when it will be redacted.
Garbarek, our home page.
That means our home Eurorail, then our home will be loaded.
Sufan to do that work is pretty simple.
We have to do.
We have to load our dysfunction.
We have to load this function in our D.C. model.
That means, you know, Madali.
What that means, that is a chloramine mother anywhere else that you are.
So here I want to do want to create another part.
I pick another part and I name it that it will be as empty.
OK, that means it's 200 Silber's empty, that it's a busy home.
So here I want to load our view.
That means the views area I have already created as a home.
And also I name it, I name it as the same name with the home.
I name it as a home.
So it is views these views home.
We here we have to do have to load it because of all I have created out this view in our which position
in our opposed and that is our views.
Right.
So for the reasons here we have to do we have to import it.
So now to do on the imported.
So that will be from that will be from our airport.
That will be from our airport and from that post.
I want to import our views.
Right.
So then will be other views right now, which would automatically indicate to our viewers that means
have already improved our views that these views and home it should be with Ecuador opposed, opposed.
And then our these views or this home, I hope friend is very much clear to you what exactly the things
I did on here.
Now, if you look at the Savol and now if you refresh our home base, yes.
You can see for now our home is loaded.
Right.
So here we don't need to slash our post.
That will be our main home base, I hope is very much clear to your friend.
And also, if you want to access our this home base, then this user must have to be logging rights.
So here I want to set up it because of all of that logging.
You can actually access it.
OK, so if you want to put that condition, so you have to we have to put that condition in our view,
that means right now we don't need this.
And that is our app.
We all say we move everything from here.
That is our enabler.
I have already put that link.
That will be our app storm.
So everything is ready mid on here.
So that will be our post.
So into the View area here, I want to do want to make our this function as a regular.
That means if you want to access our this function, this user must have to be login.
So here we have to do have to put our diskless right.
That is in order from I have already discussed about that things with you that is not Django and in
the country and from the general quantity that the art.
Right.
And then the decorator's that form for the decorator's.
I want to do an import, I want to import our locking the good.
That will be the locking.
Underscore Riegert.
Right.
That will be the locking the person now did want to make our dislodging occurred.
So it will be at the rate and then I make it as a locking the good.
So now if you want to access our this it this user must have to be logging suffering for now.
From here I return of the EDP response on this chain that also now is Chinderah is visible.
So now here I want to do, I want to load one of the template so I want to create the template.
I think you already remember it.
What exactly you have to do right now.
If you want to load the template, we have to load it with this render.
Right.
So now I return on the render and this tender path of this parameter.
One is the request and there is the file location.
So no, I have to do I want to add on the file location, that means in our budget, in our template
area and want to create another folder and create another folder for our post.
That is all that was deleted file I want to save in our app and then post OK in our app folder.
I want to save it.
Seem to that particular area.
I want to create another file like there is a new file and I just name it as a home dot SDM.
OK, so no one would want to load our this home, this Damul.
So into the view area in the rendered that will be in our app post.
So friend, I hope you enjoy it very much because everything, every concept should be very much already
familiar to you.
So now that our home dot astm.
All right.
And also in our home, if you want to pass on the title data, you can pass it with the context.
So that will be the context, OK, that will be as a context and under the context of all our discussion,
our key name, I name it as a title.
OK, name it as a title.
And here I want to do I want to display one of the title name and title name will be the home base.
OK, this will be as a home base.
So now we have to do we have to actually work.
You know what this home got e-mail.
That means that is our home.
That e-mail.
Right.
I have already created the file in our apples.
That is our home.
That e-mail seem to the home.
That e-mail.
First of all, you have to do we have to extend it.
I do have to extend our which one?
We have to extend our this neighbor because of all in our home base.
That is, I have already declared that user must have to be login.
So when this user logging, I want to load our neighbor that is our neighbor in our neighbor area.
Right.
So now I want to do I want to first of all, extend.
OK, extends and extends our neck, but the symbol that it will be the NAB bar, not XHTML, I laud
our neighbor and then I want to do want to put our title.
That means our I want to take our block.
That will be as a block and block.
And in our block area, if you go to our neighbor with a neighbor, I name it as a title.
Right.
That will be the title.
So here I named as our block will be the title and also after that I want to do to finish it.
That means here after this it will be as and block and into the and blog area that is here on the Lord,
our diction that I passed the audition that as a title.
So now to do and loaded on here.
Right.
And also to undertake another blog search will be our body blog.
Right.
So here it will be as a body.
That is a blog.
So our blog will be in our neighbor.
If you go to our neighbor into the neighbor, I name it as a body blog.
That will be the body blog.
So now I name it as a body blog.
And also after that, I have to do I have to end it.
That media and blog.
Right.
And I name it one of the page on Tegmental right now.
And it will be as a this is home on base.
So now this type of on the H1 tag, it should be visible.
Now let's check this out.
If not, look the Savol.
So before we pass on this thing that has a note here, I pass our gender.
Our this template should be loaded.
Right.
First of all, I want to check our servers are totally running.
And now if you refresh it.
Yes, because it's not perfectly getting our neighbor and also still showing our deceased home base.
That means that is our base I have created as a home that is Gmail.
So now it's perfectly loaded.
And also I display our title because of all from our view in our dictionary.
I pass the title name as a home page and you can see our title is also updated, is visible our descendants
as a home base.
Right.
And if you go to our home and into the home, you can see when you click as the home is selected to
our post.
Right.
Because of all, if you go if you go our neighbor into the neighbor, I load our you are a little bit
as opposed home.
That means if you go to our post, that is in order.
If you go what you drill into the URL that is our apt name as a post and then I load our TISM so automatically
start getting our D, but that means if you go to our main you are well into the manual.
I make it as a our post.
Right, so when it will be click on this position, it should be dakotah post and then it will load
our same page.
And also if you go to our manual it shall be load our the same page because of all here.
I also load our views home.
I hope print is very much clear to you.
So everything is now perfectly working.
So right now I want to do I want to create another button for our logo because of all right, now I'm
already logged in.
Right.
So here also we have to do we have to add that log also failed in fundamental.
I have already discussed about the things we do, how we can create that log function.
So it's pretty simple.
OK, it's pretty simple.
Better I remove everything from here right now and that will be better.
We need it so better I lose it.
OK, that would be our home.
So if you want to working with this log out, that means that is in our app logging rights into the
app logging that is related with our authentication.
So in our app logging, that is our view.
And the view area, you can say I've already improved our authenticate logging and the log out.
So now with this log out, we can actually do that work very easily.
So for the log out, I want to do after that long edit profile here, here I am doing to create another
function.
I think you already remember it.
So I pick another function that will be, I name it as a log out, whatever you want to right now,
I may name it as a log out and then user.
OK, log out the user.
And also here we have to posit that our request and then our logout function.
So with this log out I want to do and to pass that our this log our request so it'll be log out what
exactly was rejected by name ID in our return and with our EDP, with our ERP response to direct and
then with the reverse.
So with the reverse I want to do it should be redacted to our which position to be rejected.
If you go to our app logging and the result you want to to it all this logging, OK, that we see this,
that is logging security, Texas, this path, we have to first of all add that name.
That means our app name or app name will be as a app logging and then our Walpeup name as a logging.
Right now I name it as a logging perfect's.
That means we need to have a logo.
Then it should be the key to all this logging.
And also, if you want to access this log out, then this user.
Must have to be logout.
That means a must have to be lucky.
That means logging will be declared, right.
So you name it as a logging record.
And then our method, that is our function name as a log out and then there is a log out.
So for access this log out, we have to also create all that you want.
That means, you know, are you already here?
I don't want to create another one.
And I just passed it.
So that is, you know, app logging any now.
You are right.
So here we have to create it.
So name it.
I named it.
It will be as a log out.
OK, it will be as a log out.
And then also, you know, our view into the view area.
I have created all the function name as a logout user.
So it will be as a log of the user and then with our I name it as a log out of a friend.
So now if you want to put that link, if you want to put that link in our this.
So that is our home number.
That means, you know, ah, if you go to our template into the template that is our neighbor here,
I want to do I want to load our terminal, but I copied and pasted and name it as a log out.
OK, log out.
So for the log out I have already created it.
That means that will be in our app logging.
So with this app logging on to access our pop name or partner, my declared that will be as a log out.
So now I want to make that as a log out.
I hope friend is very much clear to you.
So now let's check this out.
If you click on the Save All, I click the Save All Our Sarovar Festival and to check our server software
is running.
They have no at all.
And right now I'm already logged into the refresh.
So you can see right now I'm already logging for the reasons it's actually I can access our this log
out.
So now if you want to log also here for the log out, I have already declared that.
But that means when it will be successfully log already submitted to our EDP response to direct reverse
our app logging log logging page.
Right now, if you click on the log out, yes.
You can see it's not perfectly redacted to our logging base right now and we can successfully complete
our total part.
That means right now we can create some of the new user and also you can logging.
So I have already created some of the user.
If you logging with the user as a crazy and then you do me one, two, three, four, five.
That is our Karzi password because a logging.
So now consistent, redacted to our accounts, it appears that successfully locking so here, friend,
I want to do when this user will be successfully locked in danger to be addicted to our home base,
not our this base.
That is not the base.
So here I declare it.
That is, in our view, in the view area.
So when it shall be as a sign up, which will dictate to a logging base and now that is a point you
should be logging before I have use in our app, locking it in place.
Right.
So I have now already created our home.
Well, that means if you go to our home, that now that is our airport.
If you go to our post, you are ill and you can you have already created not the home you are allowed
to do and to avoid this user will be logging on to this user, to our home page that will be in our
name as opposed to know I copied.
And now here it will be, as opposed to the outpost area.
I have already created one of the Warrell or whatever name as a home.
Right.
So now to want to pass, it will be rejected to our proposed home.
Now let's check this out if you want to save all.
Now, I love the phrase space.
Knuckleballers a logout and now I want to log in again, OK, refresh it, and now I logging again with
the crazy and you do me one, two, three, four, five.
Knuckleheaded logging.
Yes.
Now we'll see if any of our elected to our home base, I hope is very much clear to you.
So, friend, I hope you enjoyed it very much.
So don't worry.
Is a step by step everything will be more clear to you.
So no, I want to do I want to work with our post that misallocations the pays for our all that our
social media post so we can do that work.
In our next video I will show you that things with the live example.
So thanks for watching and I will see you in the next video.