Opened 8 years ago

Last modified 8 years ago

#26376 closed Cleanup/optimization

Docs for `get_template_names` — at Version 1

Reported by: Thomas Güttler Owned by: nobody
Component: Documentation Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Thomas Güttler)

I am missing what "search" means in the current docs of get_template_names:

Returns a list of template names to search for when rendering the template.
If template_name is specified, the default implementation will return a list containing template_name (if it is specified).

https://docs.djangoproject.com/en/1.9/ref/class-based-views/mixins-simple/#django.views.generic.base.TemplateResponseMixin.get_template_names

What kind of searching does happen here?

I don't understand why a list gets returned and not a single name.

Change History (1)

comment:1 by Thomas Güttler, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top