How to view custom 404 page
See original GitHub issueHi, can anyone point me how to view my custom 404 page. I searched and tried implementing ExceptionMapper<RuntimeException> but this did not work.
I’m using 0.8.1 version
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Django, creating a custom 500/404 error page - Stack Overflow
Under your main views.py add your own custom implementation of the following two views, and just set up the templates 404.html and 500.html...
Read more >A Beginners Guide to Custom 404 Pages - LCN.com
Customise the error page to make it resemble the other pages of the site. Provide a site search option or a site map...
Read more >How to Create a Great Custom 404 Error Page (with Examples)
If you have to configure your webserver to show custom error page content, an easy way to generate HTML for the error page...
Read more >Custom 404 Error Page Test - SEO Site Checkup
This SEO test will check if your website is using a custom 404 error page. By creating a custom 404 error page, you...
Read more >Django: Customize 404 Error Page - Level Up Coding
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks a lot. Works for me.
Works with assets and API. So maybe this issue can be closed?
Have you tried to set up your API on a different path, so
JsonProcessingExceptionMapperdoesn’t kick in? It can be done with therootPathparameter in the YML config. Another option is to try to disable default exception mappers by setting theregisterDefaultExceptionMappersparameter to false.