1
0
mirror of https://github.com/django/django.git synced 2025-07-19 17:19:12 +00:00

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

Backport of 6dd503851c91197364f7c7b915cabb604fadb755 from master
This commit is contained in:
Tim Graham 2016-03-21 08:09:13 -04:00
parent 379bab3544
commit 4e80ec6a7b

View File

@ -105,7 +105,7 @@ Simple mixins
.. method:: get_template_names() .. method:: get_template_names()
Returns a list of template names to search for when rendering the 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 If :attr:`template_name` is specified, the default implementation will
return a list containing :attr:`template_name` (if it is specified). return a list containing :attr:`template_name` (if it is specified).