Browse files

[1.6.x] Fixed #21834 -- Clarifed usage of template_name in tutorial p…

…art 4.

refs #21195 on master.
  • Loading branch information...
timgraham committed Oct 1, 2013
1 parent fcc290e commit a292ad1105409771f270a2b1255f3511b102c504
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 ``<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`` 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 --

0 comments on commit a292ad1

Please sign in to comment.