浏览代码

Made minor edits to TemplateResponseMixin.get_template_names() docs.

Fabio Sangiovanni 4 年之前
父节点
当前提交
19ceabefd4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/ref/class-based-views/mixins-simple.txt

+ 2 - 2
docs/ref/class-based-views/mixins-simple.txt

@@ -102,5 +102,5 @@ Simple mixins
         Returns a list of template names to search for when rendering the
         template. The first template that is found will be used.
 
-        If :attr:`template_name` is specified, the default implementation will
-        return a list containing :attr:`template_name` (if it is specified).
+        The default implementation will return a list containing
+        :attr:`template_name` (if it is specified).