Explorar o código

Fixed #26376 -- Clarifed meaning of 'search' in TemplateResponseMixin.get_template_names() docs.

Tim Graham %!s(int64=9) %!d(string=hai) anos
pai
achega
6dd503851c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/ref/class-based-views/mixins-simple.txt

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

@@ -89,7 +89,7 @@ Simple mixins
     .. method:: get_template_names()
 
         Returns a list of template names to search for when rendering the
-        template.
+        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).