django1.8自定义404错误

1,html

DEBUG = False

2,在templates里面放入本身的404.htmlcode

3,htm

 ALLOWED_HOSTS设置【‘*’】
co

这样就能够了……

相关文章
相关标签/搜索