mirror of
https://github.com/django/django.git
synced 2025-05-07 23:46:30 +00:00
[3.1.x] Made minor edits to TemplateResponseMixin.get_template_names() docs.
Backport of 19ceabefd451bc8473a8ac96b04b46a436a7c1b5 from master
This commit is contained in:
parent
98fada7244
commit
c3bd48c4cb
@ -102,5 +102,5 @@ Simple mixins
|
|||||||
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. The first template that is found will be used.
|
template. The first template that is found will be used.
|
||||||
|
|
||||||
If :attr:`template_name` is specified, the default implementation will
|
The default implementation will return a list containing
|
||||||
return a list containing :attr:`template_name` (if it is specified).
|
:attr:`template_name` (if it is specified).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user