Django Book 翻译
菜单>:
TOC
返回
原文:
If you get a 404 when requesting ``/books/apress/`` , check to ensure you actually have a Publisher with the name Apress Publishing. Generic views have an ``allow_empty`` parameter for this case. See Appendix D for more details.
翻译:
如果你在请求 ``/books/apress/`` 时出现404错误,请检查以确保你的数据库中出版商 中有名为Apress Publishing的记录。通用视图有一个 ``allow_empty`` 参数可以 用来处理这个情况,详情请看附录D。
备注:
译者: