Browse files

Changed register_tag example in docs/templates_python.txt to be consi…

…stent with other examples. Thanks, EABinGA

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent e205b96 commit c6ef1e0588f157fac91c441453780202fa1e4f1a @adrianholovaty adrianholovaty committed Nov 7, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 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:

0 comments on commit c6ef1e0

Please sign in to comment.