Django Book 翻译
菜单>:
TOC
返回
原文:
If ``template_name`` isnt specified, this view will use the template ``
/
_list.html`` by default. Both the application label and the model name are derived from the ``queryset`` parameter. The application label is the name of the application that the model is defined in, and the model name is the lowercased version of the name of the model class.
翻译:
如果 ``template_name`` 没有被指定, 这个视图将采用 ``
/
_list.html`` 做为默认模板. 程序标签和模型名都继承自 ``queryset`` 参数. 程序标签是定义模型的程序的名称,模型名是模型类的名称的小写.
备注:
译者: