Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.4.x] Fixed #21195 -- Clarifed usage of template_name in tutorial p…

…art 4.

Backport of b66a51a from master.
  • Loading branch information...
commit b8713ee69a7a171a01cf94c56d3b83bc09e41506 1 parent 74181c0
@timgraham timgraham authored bmispelon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/intro/tutorial04.txt
View
2  docs/intro/tutorial04.txt
@@ -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 --
Please sign in to comment.
Something went wrong with that request. Please try again.