Pārlūkot izejas kodu

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

Tim Graham 9 gadi atpakaļ
vecāks
revīzija
6dd503851c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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).