开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜