summaryrefslogtreecommitdiff
path: root/docs/templates_python.txt
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2006-06-28 17:00:52 +0000
committerJason Pellerin <jpellerin@gmail.com>2006-06-28 17:00:52 +0000
commit54b6e969571576e9ec616df8b074f744009b35cc (patch)
treed7b65888ad5ddfd473e734a09132eb5dfd784f46 /docs/templates_python.txt
parent11848506657d82fd57560301eb0432a339e4844d (diff)
Merge trunk to [3216]
git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/templates_python.txt')
-rw-r--r--docs/templates_python.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/templates_python.txt b/docs/templates_python.txt
index 5e3038ebb4..2fa837e424 100644
--- a/docs/templates_python.txt
+++ b/docs/templates_python.txt
@@ -783,7 +783,7 @@ Our earlier ``current_time`` function could thus be written like this::
In Python 2.4, the decorator syntax also works::
- @simple_tag
+ @register.simple_tag
def do_current_time(token):
...
@@ -844,7 +844,7 @@ loader, we'd register the tag like this::
As always, Python 2.4 decorator syntax works as well, so we could have
written::
- @inclusion_tag('results.html')
+ @register.inclusion_tag('results.html')
def show_results(poll):
...