Django Book 翻译
菜单>:
TOC
返回
原文:
a request to ``/foo/`` would render the template ``foo_index.html`` , and a request to ``/foo/15/`` would render ``foo_detail.html`` with a context variable ``{{ params.id }}`` that is set to ``15`` .
翻译:
请求 ``/foo/`` 时就会渲染模板 ``foo_index.html`` ,而请求 ``/foo/15/`` 就会附带一个值为 ``15`` 的context来渲染模板 ``foo_detail.html`` 。
备注:
译者: