Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed typo in docs/tutorial04.txt -- thanks, 'nitpicker'

git-svn-id: http://code.djangoproject.com/svn/django/trunk@499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1303933fd904359fce1b45d67ccc3d59244ef388 1 parent 1e479ba
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/tutorial04.txt
View
4 docs/tutorial04.txt
@@ -206,8 +206,8 @@ objects" and "display a detail page for a particular type of object."
By default, the ``object_detail`` generic view uses a template called
``<app_label>/<module_name>_detail``. In our case, it'll use the template
``"polls/polls_detail"``. Thus, rename your ``polls/detail.html`` template to
-``polls/polls_detail``, and change the ``template_loader.get_template()`` line
-in ``vote()``.
+``polls/polls_detail.html``, and change the ``template_loader.get_template()``
+line in ``vote()``.
Similarly, the ``object_list`` generic view uses a template called
``<app_label>/<module_name>_list``. Thus, rename ``polls/index.html`` to
Please sign in to comment.
Something went wrong with that request. Please try again.