What do I do when I open a Web page 404 error?
The purpose of the 404 page is to tell the viewer that the requested page does not exist or link incorrectly, and that the user is directed to use other pages of the site instead of closing the window to leave.
Next, let's look at how to resolve the 404 error.
If we enter a non-existent URL (but the IP address is correct), you will see an error 404 page, that is, the page is not found, this time the error message will tell you the path exists in the site, tell you can access the URL style: admin and hello, if we want the website official online, You must hide this information, then you need to turn off debug mode, which is a specific procedure:
1, we open the folder where the site, my site is placed under the Djangoweb folder.
2, use Edle edit settings.py file.
3. Locate Debug and set it to false.
4, then open a nonexistent URL, there will be no error prompts.