Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…stent with other examples. Thanks, EABinGA

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c6ef1e0588f157fac91c441453780202fa1e4f1a 1 parent e205b96
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/templates_python.txt
View
2  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:
Please sign in to comment.
Something went wrong with that request. Please try again.