Skip to content

Commit

Permalink
Fixed #21195 -- Clarifed usage of template_name in tutorial part 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Oct 1, 2013
1 parent c1c44b2 commit b66a51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/intro/tutorial04.txt
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,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/question_detail.html"``. The
In our case, it would use the template ``"polls/question_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 --
Expand Down

0 comments on commit b66a51a

Please sign in to comment.