Django Book 翻译
菜单>:
TOC
返回
原文:
In order to use the ``Http404`` exception to its fullest, you should create a template that is displayed when a 404 error is raised. This template should be called ``404.html`` , and it should be located in the top level of your template tree.
翻译:
为了完全发挥出 ``Http404`` 的功能,应创建一个模板,在404错误被引发时显示。模板的名字应该是 ``404.html`` ,而且应该位于模板树的最高层。
备注:
译者: