So basically, in the future, we're going to learn about faulty report and handling page.
So in this article we're going to learn about all the report error.
Page four zero four error page would be created and it will be only rendered on an invalid road.
So basically what we mean by the term that invented or the exception handling that if the user goes
to an invalid road and want to do our part in any part in a direction, whatever we say, like a formula
for error page would be displayed.
Either the access would not be allowed, it would be invalid, do oral or invalid operation operation
as well.
OK, so I'll give a use case, but we can see this absolute is running so I can make a request.
OK, now we can see that on request and one has started.
OK, so I.
Do you want to start with I find this about page.
Yes.
That's what it is about.
Response.
Absolutely.
Working fine now in the same.
But I'll move to my phone
now.
I can see that on making a request to this route, a valid page should render so a valid picture would
render and it says yeah, here you can see my phone.
OK, now and again, make a request to my phone to simply type two.
OK, here we can see a page.
OK, so now I've been making the request One Mile Road.
So there was no issue, but as soon as I make an invalid drop, let me try something my any page.
Any page.
So it says page not found because you are never my any page, my any page, new page even this non-existent.
OK, let me type something like some random characters.
Even this number 200 does not exist.
So but we can see here you are seeing this error because you have people that look through in your settings
file.
Change that to change that, to force and Django display the standard for all the voltage.
So basically what I mentioned in so we will be seeing how we are able to integrate our own positive
report, page one, because the default.
So basically, again, I'll give you a use case which would help us help us to have a better understanding.
So what we can do depends on the force.
So you can see don't run the debulked, don't own production.
So like when if you're changing people to force, this means that we are going to win deployment mode.
So our application isn't deploying.
The application is in deployment mode.
So like I said, don't run would be well known in Russia.
So it's not not suitable escort.
So it.
So we are actually trying to win deployment mode.
So if you are an independent mode that defined the host sort of defined start, which will for all of
us.
OK, so I'll run my or not.
This is fine.
I'll make a request to my server.
Yeah, this is absolutely right.
And the same about absolutely wasn't going Oh my my first page of my home to any of the pages.
Yeah.
Absolutely fine.
But now if I find some random characters and it is not on the request, the source was not found on
the server.
Let me down something as my any page, new page, something like this even not font.
So not an application mosin deployment mode but Hatzolah of.
So what we can do, we can create our all fours the homepage.
So basically what we're going to do, we are going to move to move this site bootstrap.
We are going to work with a Jumbotron this time.
So like we are going to go to templates, we can create a four zero four dot statement.
OK, absolutely fine.
And what I can do and copy this, we sit here and change the setting to four zero four error page.
OK, that's a design and move this heading good.
I copy this code word I, I pasted here look.
Yes.
So as Page not found so I give adding that the page is not fun and I'll give you order that says OK
so what I do.
This page of something, I'll give a message.
Paige.
Does not something we can give any message.
This page is missing or does not exist.
Something like we can give it as the story in this page is missing or does not exist.
OK, so this is sort of define things.
That's OK.
This page is missing or doesn't exist.
And what we're going to do is go to our home page.
Yeah, this is fine.
I should define both supported single quotes also.
So basically we have to define in this single course which we want to move, that will move.
We all should be fine.
And the name would be in this book.
OK, so this is fine.
OK, and how we would render this page.
So basically you discipline your wife out of your mind first and not I'll move to your first project,
OK?
So please don't confuse yourself with this.
This is my first project.
This is my first app and you need to define a false report.
I learned to handle opposing forces quite quickly.
Copy this or even you can type and learn positive for which says you have to define my name.
So basically our name is here.
My first thought was to basically everyone doesn't usually I find I find an error and error on the go
for zero four and the school view.
So this is bottom line, which is that my first user error underscores the four of you does not exist
because I have not defined it.
So I move to redefine and I define error and scope for zero for the school view, which takes requests
as a barometer and even new exception.
You can see OK, exception.
It will return render.
It a four door estimate.
OK, so this is looking fine.
OK, now here you can see how it would check and look for 04.
This is mine and my first used or Eterna scores on the movie.
And this is fine.
Yeah.
Yeah, absolutely.
Fine.
OK, no Bilu.
I move to Page.
Yes, this is also working fine and movement about which absolutely will contain no random urine.
Look at this, 500.
Something is missing.
Well, in.
Something things mitigated.
OK, I'm really sorry for this, I hadn't missed the request barometer mechanic.
This is absolutely normal.
You don't render request that you don't render request and then, uh, restart my server.
This is looking fine now, make a random request, so, yeah, no, this is absolutely within the CDC's
page not found sorry this page is missing or does not exist and go to our homepage.
So we go to our homepage and you can see this time setting by the book is to on hate that so we can
render all all the full pay.
So thank you so much.
In the next, you know, we're going to try to build some basic applications like we were working on
some features as well also.
So I'll catch up with the next picture.