[1.4.x] Fixed #21195 -- Clarifed usage of template_name in tutorial part 4.

Backport of b66a51ad54 from master.
This commit is contained in:
Tim Graham 2013-10-01 10:08:36 -04:00 committed by Baptiste Mispelon
parent 74181c0a2c
commit b8713ee69a
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ two views abstract the concepts of "display a list of objects" and
By default, the :class:`~django.views.generic.list.DetailView` generic
view uses a template called ``<app name>/<model name>_detail.html``.
In our case, it'll use the template ``"polls/poll_detail.html"``. The
In our case, it would use the template ``"polls/poll_detail.html"``. The
``template_name`` argument is used to tell Django to use a specific
template name instead of the autogenerated default template name. We
also specify the ``template_name`` for the ``results`` list view --