diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-07-19 15:23:22 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-07-19 15:23:22 +0000 |
| commit | b617884ced62482603603d8c1929c70051b44426 (patch) | |
| tree | 9538f6830c0ca8c7d2e11bbf59eacec75a3fab2f /docs/tutorial03.txt | |
| parent | b430d4c54f9a505ff451fa7dae4b74da76ebb1c7 (diff) | |
Fixed typo in tutorial03 -- thanks, Robin Munn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial03.txt')
| -rw-r--r-- | docs/tutorial03.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt index 757b53334d..477b5c1dd7 100644 --- a/docs/tutorial03.txt +++ b/docs/tutorial03.txt @@ -307,7 +307,7 @@ The template system uses dot-lookup syntax to access variable attributes. In the example of ``{{ poll.question }}``, first Django does a dictionary lookup on the object ``poll``. Failing that, it tries attribute lookup -- which works, in this case. If attribute lookup had failed, it would've tried calling the -method ``choice()`` on the poll object. +method ``question()`` on the poll object. Method-calling happens in the ``{% for %}`` loop: ``poll.get_choice_list`` is interpreted as the Python code ``poll.get_choice_list()``, which returns a list |
