Django Book 翻译
菜单>:
TOC
返回
原文:
* If you dont define your own 404 view and simply use the default, which is recommended you still have one obligation: to create a ``404.html`` template in the root of your template directory. The default 404 view will use that template for all 404 errors.
翻译:
* 如果没有定义自己的404视图,而只是简单地使用默认的视图,此时就需要在模板目录的根目录创建一个 ``404.html`` 模板。默认的404视图会对所有404错误使用改模板。
备注:
译者: