diff options
Diffstat (limited to 'docs/tutorial04.txt')
| -rw-r--r-- | docs/tutorial04.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt index 0215018c82..631b3e87af 100644 --- a/docs/tutorial04.txt +++ b/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 |
