diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-05-25 05:09:25 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-05-25 05:09:25 +0000 |
| commit | b631a502506f90aecd19b37489839a2fde11b137 (patch) | |
| tree | f9f6228c8f657ea82499c496f442d7b5341661dc /docs | |
| parent | 9c9a2d8b0976f210a9f010fcafd83db9b4a4ce06 (diff) | |
Fixed #2001 -- corrected a couple of typos in the custom tag examples. Thanks
to topdeckmail@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/templates_python.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/templates_python.txt b/docs/templates_python.txt index 8ac2effd45..6c74c55fa1 100644 --- a/docs/templates_python.txt +++ b/docs/templates_python.txt @@ -802,7 +802,7 @@ Writing inclusion tags is probably best demonstrated by example. We will write a tag that outputs a list of choices for a Poll object, such as was created in the tutorials_. We will use this tag like this:: - {{ show_results poll }} + {% show_results poll %} and the output will be something like this:: @@ -866,7 +866,7 @@ For example, suppose we are writing an inclusion tag that will always be used in a context that contains ``home_link`` and ``home_title`` variables that point back to the main page. We can write a tag that is used like this:: - {{ jump_link }} + {% jump_link %} and renders this:: |
