Django Book 翻译
菜单>:
TOC
返回
原文:
Its common to use this technique in conjunction with configuration options, as explained earlier. This example makes a slight improvement to the example in the Giving a View Configuration Options section by providing a default value for ``template_name`` :
翻译:
就像前面解释的一样,这种技术与配置选项的联用是很普遍的。以下这个例子比提供视图配置选项一节中的例子有些许的改进。它为 ``template_name`` 提供了一个默认值:
备注:
译者: