Hello, friend, welcome back.
In a previous video, we successfully migrate our database table, so now we can actually insert some
of the data in Django that is one of the most interactive on the part.
So here you don't need to create any good application by default.
All that court application is clearly like if you click the add new, that means that about so here
there is a clear title.
So now I just simply copied the title title with the same.
That will be our description.
So I just simply copied and here I just simply posted.
So that will be our description.
Right.
Sorry, that will be our description.
And here that is an image.
Pushtuns I just saw some of the emails.
So for now I want to do an addition to these emails and click as open.
So that is our Django KOSDAQ being OK.
So now if you click to save.
Now, here you can see it's not showing us about object.
That is one object is addressed successfully.
Right.
So that is actually about successfully.
Now, if you go here and that is actually our current.
Yeah, our image sequences automatically added as is about and our image.
But here, if you open it, if you open it now, you can see snowshoeing as it discharges about does
not exist.
Perhaps it was deflected.
OK, that means it's not actually visible.
So here we have two also visible.
If so little, I will show you.
And also, it's not showing as is about and that is actual object.
So here, if you want to change that name as it objects to your title, name, your description name,
you can change it.
So if you want to do that work, we have to do we have to work on a model that means here.
So if you already know a little bit of python and the python, they have one of the key words as a self,
you are to be the self cured.
We can actually do that work.
So first of all, here we have to do we have to create one of the magic method.
So that is actually the one of the magic method, in particular that area.
So here that means inside that our class.
So here you have to do we have to create one of the class.
So I just named that of the magic class or the constructor class, whatever the name you actually call,
then it spells double on the line and they start OK.
And then it's done.
And here we have to do we have to pass out this key.
That means the self gives.
I just simply pass out this self.
OK, so with the self here we can actually change it.
So now I hope people will understand about it.
So that is our key.
And here I just added our the magic method as a dev and that is we start.
OK, so now with this self we can actually pass our every field data.
So here I want to do and to return.
So return with this self, with this self I want to do and to pass out whatever he wants.
If we pass that description, you can pass the title.
So here I just simply pass the title.
So now if you click on the Savol, so just symbolically to save all of us to fill out the check or sarva.
Yeah.
Or is perfectly running.
And now if you refresh it.
Yes.
You can see and now it's become changed and now it's showing our title.
That means here I have added one of the Boasso with this post title is visible.
So if you add new one.
So I just named me that.
This is just for test.
OK, and then here some of the description.
I just copied the description I just saw the description.
I bought some of the images.
So now I just choose this one because I save now because Israel is not showing as that this is just
for test.
OK, so that means our title is visible.
So here, if you want to change that as a description of the Savol and now if you refresh it.
Now, see is not showing all that description.
OK, so if you want to change it, you can change it from the disposition with our Ts self, OK, with
the self and without this magic method.
So better able to make as a title that will be better for me to save all your freshet.
That is a title.
So if you go here you can update it as a as I told you before, in Django way automatically by default,
the code application is relevant.
OK, so you can update the title, you can update that description.
You can change that immediately after that if you can save it now consists of successfully updated and
now consistent showing other successful.
So that's how you can actually updated that everything.
And also if elected, you can delete it from here.
OK, that is the total code application is the limit in particular that area.
So right now they have the two posts.
So, you know, next video on the discuss about like here that is about DOT and then our Django course
here.
That is all about.
So has I told you here I all about folder.
It automatically will be created out of the folder area.
So that is actually the folder.
If you go to our portfolio here, you can see snow created on the folder and that is OK, but it's not
actually getting appropriately.
So here we have to update that work so we can update it in our next video.
I will show you that thing.
So the live example.
So thanks for watching and I'll see you the next video.