From c6ef1e0588f157fac91c441453780202fa1e4f1a Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 7 Nov 2005 14:26:40 +0000 Subject: [PATCH] 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 --- docs/templates_python.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/templates_python.txt b/docs/templates_python.txt index b4e09252bd3..81c423f33b5 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: