#26376: Docs for `get_template_names`
--------------------------------------+--------------------
Reporter: guettli | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/26376>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.67c999e157a2a2786544abd13add3c8b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.