Browse Source

Made minor edits to TemplateResponseMixin.get_template_names() docs.

Fabio Sangiovanni 4 years ago
parent
commit
19ceabefd4
1 changed files with 2 additions and 2 deletions
  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).