Hello, friend.
Welcome back in this video and the discussion about how can edit your musician, so like I have already
created some of the musicians, so that is all that musician is comes from that are best able to now
if you click as the Kazarian.
So now then it will be redirected to our album list with a specific one of the ideas.
Right.
And here it is showing our artist was named the last name and the installment name.
And also it's not showing this artist all that album.
So first of all, I want to do I want to edit our artist and the instrument.
So how can do that work for doing this?
First of all, I want to do I want to add on to the edit button on here.
That means in our album, Listeria.
So now for for doing this, you have to do have to go to your Bozic trajectory.
And here there is no template and there is our fast app.
And then there is our album list.
Right.
So into this album, Listeria, I want to do I want to create one of the button, like after this.
OK, after this here I want to do to create one of the button.
I just name it as it is and here.
But I want to do and are defined as a on the bottom name will be as edit so just name it as eddied.
And for this button I want to do on to the front of the class then it'll be better.
So I just have the front of the class and here I want to use one of the booster class as a button,
Betty and Betty and primary.
OK, you can use that bit and they have also another class in Bootstrap as a betty and primary, Betty,
and awarning between success and also the deal.
OK, so right now I'm using that primary and also I want to define that site like here.
If you want to define the font the size, then you have to define as a bit and assume that.
And then with the M Elzie that be the last and also the M.D., that is a medium.
So I don't want to use one of these small size.
So I just simply defined as s.m.
OK, that means a small.
So now if you click the save all and now if you refresh it, I just refresh legacy to have also the
button is added as edit.
So now I want to do if you click the edit the next decade or another it's Tamalpais and where and I
want to load our this form for edit.
OK, so for doing this, I want to do in our template area into the fast step template here.
I want to create new file, so I just simply create new file and I just want to create all the file
as the edit.
Edit underscore artist dot still to know how to save it.
So that is our edit artist artist.
So first of all here I want to do want to define our extended details like that with our extended details,
but I just simply copied.
So here you don't need to use that actually say just simply defined as the extended fast step and the
basic HTML.
And also here I defined that, a blog and the body blocks.
I think you already know about it.
So we have to also finish it.
That is next the end blog.
So I just have to copy.
And after this here, I will find Adblock and here a different better one of the three tech and like
it will be as edit our artist.
I just name it as an edit artist.
And after that, what exactly we have to do.
After that, we have to create all the view function for this one and also we have to create the part.
So if you want to do that work, you have to go to your room.
That is our application.
So do the first application go to the views file.
So I know that is model, so it's not important.
OK.
That is it, it will be important, the models we don't need to decide, it simply will be.
So that is our view.
So obviously, I have already created all of the function of the index, that album list and the musician
farm that is our album farm and No one to do and to create another one.
So now I want to create another as a function of the DEVE and I named that function of the edit.
OK, edit underscore artist.
And here also we have to pass that request.
So to simply pass that request and after that it will be as addiction.
That means our dictionary.
So right now I want to do and to make the dictionary as empty fast.
And also we have to do some things actually we did that things seem like here, the render right into
this standard here.
We have to pass our request.
We have to pass that request.
And then also we have to load our base.
So here we have to pay our base or base I have created.
That is our template.
That is a far step and that is our editors artist.
Right.
So now I just name it as a fast, fast step into the fast tap.
I have created one of the base as edit and a score artist.
Dot is right and then I understand the context.
It say just simply defines the context or diction so that the addiction reference.
So that is actually the same things we did before.
So I have already discussed about that main cool things.
OK, so now we will actually use the same things again.
So here that is our function name, our function name.
I have defined as a edit artist and make this year after that you have to do you have to use that column.
OK, so here I define that column.
I define that column.
So now that is our function name.
That is the edit artist here.
I defined that request and the diction and returned the request.
Our Fastweb editors, Jammal.
So don't we have to do we have to create also of the you all suffocating that you we have to go our
application and that is what you are allowed to know how to do and the better compete.
OK, I just simply copied, I just simply pasted to here I wanted to define that name is to be as a
edit artist.
OK, I name it as edit underscore artist editor this.
And here also we have to define some of the ideas.
So we'll do that later.
And also there is a views and that is our function name.
So know our views.
I have created that function as editor to say just simply define that editor and I just named that our
this part as edit artist.
OK, and so now I want to do out to define this link.
I want to define this link in our album list, and that is outdated buttons that have already added
in our album list and the album list here.
I have defined all at the bottom of the edit.
Right.
So in particular that position on the dual define art.
You still see if you want to display that you are the lighting, you already know about it.
You have to define your key as you are well and then you have to define your app name.
So I have already defined our app name, you know where you are.
So that is our app name as a first step.
Right.
So now with this step, with this first step, I want to display our name.
That means I have already created one of the parts.
So here I have defined that part name as the edit artist.
So now I just simply copied and now in particular that position, I just simply passed it.
So now what exactly is to be happen like here right now, if you could, because it's able I just to
save all Jackett, everything is well.
And now I want to do I want to refresh our pace.
Not only as it it now can, it's not perfect, predicted to our elite at this pace, so in particular
that position, what exactly we have to do here, we have to actually get our specific IDY data right.
Like they have the I'm one of the ideas so that the one I did that.
And also, if you choose any other things like here, if you choose that Michael Jackson so that there
are two added.
So when you click on the edit, then it will be addicted to a specific decide.
That means here with this specific idea, you have to edit it.
Right.
So if you want to set up that things, first of all, we have to do we have to load out all that forms.
So if you go to our phone area and into the form here, you can see I have already defined the class
as a musician from class and into this musician from class.
I have already get all the tower field, so now we have to first to follow this field.
So now we have to defining it in our view into the view that is our request.
And after this after this, I just take as a form, it's just like the same.
So I just simply defined as a form.
And then our with this form, with this form, I want to want to access our D form class.
So that is our class name as a musician form because I want want to load all the tower field.
So for the reasons here I simply define our musician form class.
OK, that means here I define the object for this one.
And then also we have to do we have to pass it in our dictionary.
So here I just name it as a edit.
OK, it underscore form.
I just came into the edit form and I just do find that things with the form, I just simply define it
as a form.
And also here I have a dictionary in this context into the dictionary in our edit added statistical
base.
So now we have to do we have to update our editorialised.
That means here that is editor is so here we have to do we have to define the form.
I think you already know about it in the form.
We don't need this class right now.
Also, we don't need this any action.
So to simply remove it here, I have to define our method as a post.
OK, so I just simply defined as a post method and in particular that area we have to define our edit.
That means from here I pass our edit form.
Right, that these forms I just simply copied and now here I just simply define our edit format.
And also I want to do I want to display our all that the edit from s back it up.
So far the results here are defined as the as and then underscore Paragould up right front.
So I think you already know about it.
And also that is actually our post form.
So that is our method as a post.
So we have to also define our CSF because from here we have to also update it.
So for the reasons here that define our CSF, because without this it will be not saved that data.
So I just simply defined as this case out of talking.
And after that, I want to do all the different of the input field.
So I just simply defending the input file type will be at the submit type and the name I just see fine
as a submit and then Velu I just simply define that value will be like the update.
OK, I just named that value by the name will be I.
And for this button I want to do a little defense of the class and I just defined that one of the bottom
class as a medium with the NBT and aim for right now I am using that info and then VPN is small that
s.m.
So now if you click and save all so just click the save.
Also here I have defined our our object.
I have created all the object for our musician form and this musician from from here.
I already get all the data that we all did our field data.
Right.
So that's all that that actually comes from our models into this model.
So that is all that our field data.
So now I don't want to use it, so I want to use it.
So now if you go here, we fill this space because it it yeah, you can see not perfectly getting our
all that musicians feel that the first name, last name and the installment in our edit at this space.
But here you can see they have no idea because of all here.
As I told you before, we have to get our aspecific all ID data.
If you go to that, our database and the database, I have created all the database Niam, our database
team is my first app, so that is my first app.
And if you go to that musician.
And the musician here, you can see that is actually all that our idy, so no one to go on to get with
aspecific all that idea.
And I want to get all that a specific I'd name the first name, last name and in installments everything.
It should be visible in our particular area.
So how can do that work for doing this.
First of all where we have to do in our edit that means when you click the edit then automatically to
reject it with a specific one of the ideas.
So there is a things we already did that work.
So now I want to do to define all of the ideas in our album space.
So the album space here to have defined that idea.
Right.
So now I want to do and define all of the name as an artist.
OK, I just name it as artist underscore idea and into this artist idea.
I want to get our hosting.
I want to get our this table.
That means these tables that are into this table that have also of the field as idy.
So I have already get all the data, I have already get all the data with this artist info.
Right.
So with this artist info we access our first name.
With this artist info we access our last name.
So now I want to do with this artist info.
I also want to get our decided name.
So for the reasons here, I want to do with this artist info.
So this artist info.
I also want to access our database filename or database for name as an idea, and I hope you can well
understand about it.
So now we have to do we have to also define this idea, you know what you are.
So now go what you are well into the you are in here.
We have to defining it.
So but I simply copy it because it will be this artist with a specific one of the ID.
So I also define that IDM.
So here I define that name as the artist already, so I just have to copy it.
And now here you can see there is also the same name as Artist ID.
Also we have to define this artist ID in our view.
So to the view into the requests previously I have already defined this type of work.
You can see there is a request and then we here we pass out the ID.
So no, I just simply define again into the request here.
I just simply decide.
So now if you click as a Savol, I just click on the safe, I'll check it.
Everything is OK.
And now I just want to do everything step by step will be very much clear to you.
Like here I'm using that ghazarian one ID.
So now if you click on the edit.
Yes.
Now can see it's no actually getting our one edit data and also if you choose this one, so that is
equal to it.
If you click on the edit now showing as it artists do so now I want to do I want to get all the top
two ideas, specific data and visible that things in our first name, the last name and in our installment
area.
So for the two, I did that.
If you go to our database for the two idea that they have the first time as a Michael the Jackson and
the tabla.
Right.
So now I want to do to get our specific to edit that out and visible in our space.
So for doing this, we have to work in our view.
So I came to The View.
I have already created all the function of the edit artist since the edit started out here.
I want to do want to get all that data right.
So I think you can understand it like here I take of the variable as the artist info artist underscore
infl and in particular that position.
I want to get all the data from where I want to get all the data from our musician.
Right.
That means the musician.
So that is actually on musicians table.
So I want to get all the data from this position.
So I just simply define our musicians table into the musicians.
I want to define our objects.
I want to get all the objects right under the objects.
And then if you want to get some of the specific data, then you have to define that get and the primary
key are primary key.
I have defined our requested key, so requested key.
I have also defined that things are the idea that the artist I right.
So here I have already defined one of the ideas so that it will be our requested I.D. or requested I.D.
means if you go to our site and here you can see that extradites specifically gustatory.
So with this a specific request that I did that I want to load the results here.
We have to do we have to pass that our primary into our primary gate will be our distinguished the right
front and also into the dictionary.
I have already passed our this form right into the form.
I have already created that object.
And with this object, I have passed out these things in our edit from media.
That means our musician form.
I pass it with this form.
And also now I want to do I want to pass out all that requested data that was specific to the data.
I wish that I take the things with this variable, so now I have to do and pass it also.
You know, this form happens here.
So here, if you want to pass it, then you have to be have to define as in a sense that is simply defined
in a stance.
Right, so I just simply defended in a stance and then here I did find out all the data that I get that
things from our the table and take the things with these variables.
And now here I just simply posit so I think is very much clear to you.
So from here I get all the tower field.
So here you can see that is all that field.
And here also is specific to the data and not on to do want to get specific to idea all the data so
specific.
These two destroyed all the data for the results in our form area.
So that is actually our form into the form area.
I get all that our data with the specific requested ID and I just take this all data from our database
table.
That means the musicians table.
I get it with this variable as the artist info.
So now I just define as in a stand and into the instant.
Here I pass all the data.
So now it should be display all the specific requested data in our this farm area.
OK.
And after that I also pass it in our edit form.
So now let's check this out.
So here I also define our diction and then in our edit Artspace that means that that is a Tamalpais.
So now it should be visible.
Like I show you, everything will be very much clear to you.
I just click the save all.
Everything is perfect.
So now you can see that the two that are so now if you refresh it.
Yes.
Now can see friend.
I hope it should be very much clear to you right now.
So specific to the idea that I have defined so that our first name as a Michael the Jackson and the
tabla you can see it's not of the Michael Jackson and the tabla.
If you go home, go to that Cancerian because the eddied.
Yeah.
You can see showing the Kazarian and the guitar.
So they have the two functions actually works for the originals here.
I have defined two of the things on here.
So with this I load our all that our field.
So that is our all field as a first name field, last name field and the instrument field.
And then I also define another condition.
So here I get all the data for I'm already twisted ideas that I'd already custody right now as the one.
OK, so that is a clever one idea.
All the data, how will we get in the primary area?
And then I just simply pass all the data in our this form area with this A and I just simply pass it.
So that is actually all that.
Our data, for the reasons you can see, is not perfectly getting all the data in our fast memory loss
area and also in the stomach area.
So now if you want to change that fast name, if you want to change that last name, if you want to
change that instrument and then if you want to update it, then it'll be updated.
So how can I put it in our next video so that things with a live example.
So thanks for watching and I will see you in the next video.