[3.1.x] Made minor edits to TemplateResponseMixin.get_template_names() docs.

Backport of 19ceabefd4 from master
This commit is contained in:
Fabio Sangiovanni 2020-06-01 10:16:45 +02:00 committed by Mariusz Felisiak
parent 98fada7244
commit c3bd48c4cb

View file

@ -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).