Hello, friend.
Welcome back.
So, you know, previous video we have created, one of the clouds viewed that is our CREATE blog and
here I added our template, that is our create blog today, e-mail and also get all our feel right and
also in our business to e-mail into the business.
I like that one, that you are a part that will be our blog and the create blog.
So now if you go to our base, a refreshing go to our blog here.
This is not totally blank.
So here we have to do we have to load our form.
Right.
If you want to load that from we have to load it in our blog.
So in order to create blog area here, I want to do first of all, I want to load our kids perform here.
I want to display that our form with the Crispi want to display that is I think you already know about
it.
We have to load.
We applaud that crispy crispy underscore forms and then decks.
Right.
So that will be as a crispy form tax.
And then in our block that is all in our body block area.
I want to do first of all, I take one of the external tank and it will be the right way.
OK, write your blog here.
Step up one of that text.
I want divisible and then I want to load all the form and with the form area, we don't need any class
and also we don't need any action.
I just simply remove it.
So also from here it will be as a method, will be as a post.
And then I want to do and load that our form.
First of all, let's check this out.
I take it as a form, OK, and take it as a form and then it shall be as a Crispi.
So this will be as a crispy form will be loaded and also here we need the sea itself to kill and maim
it as a sea as R.F. Underscore Tolkan right.
That will be LCAC.
And then I want to undertake one at the bottom.
So I think you already have a date with this.
I named the department that will be as a summit type.
It will be the submit type.
And here we don't need this name I want to hear and to load on the class and I name it as a meeting
between success and then ask them so they step up on the class I want to load and it will be as a published
OK, Sylve, as a publisher and then our form and perfect.
So now I hear a lot our form and if you know this Savol and now from here I pass all that our feel will
be should be visible.
Now let's check this out if you're not going to have to refresh.
Yes, you can, friend.
Everything is now perfectly visible.
So now if you compare this with our model, if the model here, you can see the result altered the blog
title.
That is a character feel that is a slag as it's like feel that is our block contained blog images,
published it and bet that will be heightened or it's automatically saving our database area.
So now if you you can see because that is all that our authors right now, all that water is visible
and there is our title, there is Slack and that is our main body contain.
And then there is our image.
Right.
And after that there is a published button.
So bitter I want to do here in a word creates after this here takes on the bracket.
OK, I take some of the bracket, then this will be better because I save all and now if you refresh
it.
Yeah.
And obviously they have some of this business and here you can see that is our button as a published
perfect.
So here we have to do we have to update it like here there is our lot.
So you can see right now what is visible, all that alter.
So yeah, it should be automatically used to be get which user is already locked in automatically to
get this auto name.
So here we do need to visible this alter and also the slide here.
I also want to highlight that slide because of false flag will be automatically generated by our title.
So what the title will put on particular that area, then automatically it will be created.
These titles like OK, so I will show you then everything will be more clear to use right now.
I also want to do I want to only visible our title.
That means our post title, our Fontain and an image.
So for doing this here, I want to actually hide two of this, even to hide it in our field area.
That means, in our view into the view here.
You can see I declare that all for the business is actually visible, all the data.
So now here I want to make that as a specific.
So if you want to make that specific like here, first of all, I want to do on the visible our only
our filename, our filename as a block title and the visible that our block title, I want to visible
that our block contain.
So here it shall be displayed, our block contain and also underline the visible our block image again
that will be automatically generated and automatically should be saved.
Our which user is posting that block automatically as we get our D auto data.
So right now I updated our block image.
So now let's check this out if you not together Savon and now if you refresh it.
Now is now showing us our title, our content and the images, so now if you want to save this data,
so in functional in functional view, I have already discussed about the things we do, what exactly
we did in functional view, we did as a one we put on the if condition and then the request and then
the matter.
Right.
With this method we pass, first of all, take it.
That is our post method or not.
And after that we save it, that we after that we save our form, then we save it.
Right.
So that is for our function.
Bu but what exactly we have to do in our class view.
So right now we are working with the clouds view.
So for the reasons I write down, we don't need to use it.
So for the clouds view, they have another method as a form.
So now we will use it in our particular this class area.
So for doing this here and the to create another function, I want to create another function in particular
in this class view area.
So I name it as a form from valid OK, maybe it from valid into the front.
We are here to pass our self.
That means two parameter one will be as a self.
That is who each user actually updated that position.
So that will be as a self.
And then our which form.
That means our form that also I simply pass our form and with the form area here we have to do we have
to first of all, commit this data as a false my one of the variable as a block OK, as a block object.
I name it as a block object.
OK, so with this block object, first of all our D form, our D form that I want to save it.
So here before say it, I have to do some of the work because of all I have to create sound that Imlach
and also I have to set our appropriate this user for the regions here and want to make that as a comment
that will be as a comet.
Comet will be as a false fast.
That means it shall be hold this data.
OK, so I make that as a comet false.
And now I want to do take our with this block object that Missier I have already pending this data and
I take this pending data with this block object right now with this block object.
I don't want to work like first of all, here we have to do we have to set our appropriate this user
that is this author.
So that is in our model, in the model area.
I name it as a with the author.
So here we have to do we have to set it right.
So in the DA with this object I want to access our author and with this author will be which are will
which will be said, our specific current user.
That means right now I'm already logging with the test.
So it will be get this current user.
So if I want to get that current user, what exactly you have to do with this self, with this story,
with this self here you have to set your current user.
That means your request user, right?
That will be our current user.
And then we have to do we have to update our slide.
That means one of the things we'll put in our blog title area automatically.
I want to create one of the slack for our this blog title.
So if you want to do that work for doing this, I want to do undertake one of the variable as a title
title to ideally OK title and into the title area.
I take with our pending.
That means with our pending form that I take that things with our block object to now with this block
object.
So with this block object, I want to do want to pass our field and our field will be as a block title.
So now I pass our block title.
So then I want to do I have to create one of the Aslak.
Right.
So now with this block.
With this block.
Sorry, with this block and then our block object.
So with this block object I want to access our field so our slack field and our field will be our I
take our block title field and take the things with this variable.
And now with this title here I'm going to do and generated some of the slack.
So here they have also not the function that have ensenat the function as it replace so to do and replace
it.
So I name it as a replace.
And this replace actually passed two argument, one argument which, which, um, which place you want
to replace and into the replace area.
What exactly the details will be added.
OK, like here I take another one, I take another one that will be as you suggest, that is one this
hour in our title.
There have any spaces automatically will be replace these spaces with our this hype.
And I hope it's very much we to friend like here if you as a courtesy that means our title.
If this guy will be as a CASA and then E-Space Oriente, then these replace function will be work.
Is this is first function, this is space.
Automatically we created this step up the slack as a kasie and this Espace is automatically.
Replaced with the HyperMED and then also be Azarian.
OK, so I hope is very much clear to you.
So with this replace function, we can do that work.
And after that, also, I want to do after that title, OK, after the title, when it's located on
the slab and after that into the slag area.
After that, I want to do I want to add some the idea then it shall be very much interactive.
Like if you create for educational purposes, I will discuss about the things we do.
Like if you do what like as like crazy as Arion.
OK, so you just put on or you just create one of the block and that is your order.
First of all, your domain name and then your water will be just this.
OK, and then if you create the same name with the same name, if you create another block, then it
should be confusing.
Right.
So then it shall be created.
Some of the conflict so far between this, I want to do I want to add after this title, I want to add
some of the, um, some of the idea.
OK, so each will be automatically generated around the idea.
So for doing this, I want to do they have also another function I want to do first of all, and input
it imported so on the input and the input of the EU idea.
So with this new idea, it's automatically generated some of the ideas.
So right now I want to do want to use it if you want to use it.
So here after this.
After this and first of all, all the dirty spaces will be replaced, our HyperMED, and then that means
the place I want to add the plaza and then and then after this, happiness will be also added another
HyperMED.
And then plus then I also want to add that plus it should be a disaster.
And here we have to do we have to pass our eweida that this eweida and they have some of the version.
I want to use it as a new idea for OK, so I want to use it.
So I just simply add the things on here.
That means what exactly happened, friend?
As I told you, if you are the custodian, that means right now it should be created as a Khasi hype
and Ardian and then hype and and then sell the idea, OK, that means that we should replace it and
then plus it should be plus added on to the hype.
And so I just added the hype and then our ideas.
So, so we created that idea.
I hope it's very much clear to your friend.
So if you want to check it out very clearly, I will show you like if you go to our terminal, to the
terminal area and to check it again, to check it our dysfunction, how that function actually worked.
So here, if you make as a FYI or the python, whatever.
Right.
So now I make it as a pie, then it should be directed to our main of Yasuhiro to do.
I want to check Checketts.
I want to first of all, import.
I want to import that.
I have already added on here.
That will be as a U.
Edek Eweida I imported click enter and now I want to do in the state of the title.
So here I name it so you can see I name it as a title.
So now to say one of the title in our block area there should be as a title.
So I said on the title and I just named the title on this this below.
OK.
Mm.
And this is a blog post.
So this step up one of the title I added knuckleballers to enter so no one to do and to add on the slack.
So that will be Aslak into the slag area.
I want to pass.
Sorry he was Lagardere.
I want to pass out this total potion that means this title.
OK, I copy it.
And here I it.
I passed it.
So that means the title and the replace and now dysfunction.
So now how that functionality work for our this title I show you now if you click on the enter No.
One to turn to print it, I want to print our dislike, OK, how to paint our dislike.
That means here I take that things with this variable as it's like I want to do want to paint it.
So now if you click they enter.
Yes.
Now if what exactly is happening to these and they have some of these pieces automatically added the
hype and hype and hype and write and after that post here is added that another happened.
And then we thought this UI before it created this step up on the idea.
OK, so then it's created this idea for the reasons here.
How to use it, I hope is very much clear to friends right now.
So that's how this function actually work.
So now I want to do to save it after that.
That means with this blog, with this blog object I want to do and to save and to save these.
I just added the save and then I want to return.
Did I return with our SCDP response, representative response to that.
And with the reverse there will be just like the same before and the reverse area to do and pass it
to our home base or for the home base.
I have already created that the index.
Maybe I'll just check this out if you go to our main post code that you are.
So for the home, I name it as an index.
Right.
So now I want to learn to actually use it.
So in the area I have going to be done that will dictate to our index base I hope is very much clear
to friends.
So now I just say, well, so now we have to do we have to create our list because that means whatever
the blog will pull from here, it needs to be our home page.
And the home base area is to be displayed with a different way.
OK, so we can do that work better.
I will continue this process in our next video.
I will show that things with the living sample.
So thanks for watching.
I will see you in the next video.