Django Book 翻译
菜单>:
TOC
返回
原文:
* ``template_name_field`` : The name of a field on the object whose value is the template name to use. This lets you store template names in the data. 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'`` .
翻译:
备注:
译者: