소스 검색

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).