Explorar el Código

Made minor edits to TemplateResponseMixin.get_template_names() docs.

Fabio Sangiovanni hace 4 años
padre
commit
19ceabefd4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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).