How to create a custom 404 page for my Django/Apache?
I know that you use .htaccess
in the document-root directory in standard Apache.
What if I use Django? Can someone give me step by step how开发者_如何学Go to create a custom 404 page?
The default 404 handler calls 404.html . You could edit that if you don't need anything fancy or can override the 404 handler by setting the handler404 view -- more here
精彩评论