From a292ad1105409771f270a2b1255f3511b102c504 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 1 Oct 2013 10:08:36 -0400 Subject: [PATCH] [1.6.x] Fixed #21834 -- Clarifed usage of template_name in tutorial part 4. refs #21195 on master. --- docs/intro/tutorial04.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt index 499f0e1818..a3aea2cb6b 100644 --- a/docs/intro/tutorial04.txt +++ b/docs/intro/tutorial04.txt @@ -269,7 +269,7 @@ two views abstract the concepts of "display a list of objects" and By default, the :class:`~django.views.generic.detail.DetailView` generic view uses a template called ``/_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`` attribute 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 --