Django Book 翻译
菜单>:
TOC
返回
原文:
In other words, if your object has a field ``'the_template'`` that contains a string ``'foo.html'`` , and you set ``template_name_field`` to ``'the_template'`` , then the generic view for this object will use the template ``'foo.html'`` .
翻译:
换句话说, 如果对象有一个内容是``'foo.html'``的字段:``'the_template'``, 并且你设置 ``template_name_field`` 到 ``'the_template'`` , 那么,对象将认为你是在使用 ``'foo.html'`` .
备注:
译者: