Made minor edits to TemplateResponseMixin.get_template_names() docs.

This commit is contained in:
Fabio Sangiovanni 2020-06-01 10:16:45 +02:00 committed by GitHub
parent dd1ca50b09
commit 19ceabefd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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