From 1f5626d087358668980f944a1a59642a4a99e2d0 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sun, 17 May 2009 16:33:00 +0000 Subject: [PATCH] [1.0.X] Fixed #11130 -- Corrected code example in custom template tag doc. Thanks phyfus. r10799 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10800 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/howto/custom-template-tags.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt index f5aa47d7d4..c6f76772de 100644 --- a/docs/howto/custom-template-tags.txt +++ b/docs/howto/custom-template-tags.txt @@ -543,7 +543,7 @@ for example:: class FormatTimeNode(template.Node): def __init__(self, date_to_be_formatted, format_string): - self.date_to_be_formatted = Variable(date_to_be_formatted) + self.date_to_be_formatted = template.Variable(date_to_be_formatted) self.format_string = format_string def render(self, context):