diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-14 21:33:45 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-14 21:33:45 +0000 |
| commit | 2a2e2fb6aa7f46a7ada2a320c775a315045f8b83 (patch) | |
| tree | 1c00ef17cc6d0f09b4559375705f3fba1e2887da /docs/tutorial04.txt | |
| parent | 2ffca1711ddd58ce0457bbf972a25402b746b73b (diff) | |
| parent | 083b4f9001f3968138c4d0c34ab741cf7be97f43 (diff) | |
i18n: merged up to r868
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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 3e6d6205bb..737d8deb1f 100644 --- a/docs/tutorial04.txt +++ b/docs/tutorial04.txt @@ -197,8 +197,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.html``, and change the ``template_loader.get_template()`` -line in ``vote()``. +``polls/polls_detail.html``, and change the ``render_to_response()`` line in +``vote()``. Similarly, the ``object_list`` generic view uses a template called ``<app_label>/<module_name>_list``. Thus, rename ``polls/index.html`` to |
