Django Book 翻译
菜单>:
TOC
返回
原文:
Often you simply need to present some extra information beyond that provided by the generic view. For example, think of showing a list of all the other publishers on each publisher detail page. The ``object_detail`` generic view provides the publisher to the context, but it seems theres no way to get a list of *all* publishers in that template.
翻译:
你常常需要呈现比通用视图提供的更多的额外信息。例如,考虑一下在每个出版商页面实现所有其他 出版商列表。 ``object_detail`` 通用视图提供了出版商到context,但是看起来没有办法在模板中 获取 *所有* 出版商列表。
备注:
译者: