summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-07 14:26:40 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-07 14:26:40 +0000
commitc6ef1e0588f157fac91c441453780202fa1e4f1a (patch)
tree245086fcdc79d453339563157a5afa9071824047 /docs
parente205b96825df26a53229dea6fdd9ad70d9531888 (diff)
Changed register_tag example in docs/templates_python.txt to be consistent with other examples. Thanks, EABinGA
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/templates_python.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/templates_python.txt b/docs/templates_python.txt
index b4e09252bd..81c423f33b 100644
--- a/docs/templates_python.txt
+++ b/docs/templates_python.txt
@@ -611,7 +611,7 @@ Registering the tag
Finally, use a ``register_tag`` call, as in ``register_filter`` above. Example::
from django.core import template
- template.register_tag('cycle', do_cycle)
+ template.register_tag('current_time', do_current_time)
``register_tag`` takes two arguments: