summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2009-05-17 16:31:02 +0000
committerKaren Tracey <kmtracey@gmail.com>2009-05-17 16:31:02 +0000
commit92e5249a677c1c60d2a13ad0203716840fc71143 (patch)
tree97b54bbd1f07ae381b55a0221ce480c2191a0f7c /docs
parent2cbec63f0b19bb00eebdbf874ecfabd405e25007 (diff)
Fixed #11130 -- Corrected code example in custom template tag doc. Thanks phyfus.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/custom-template-tags.txt2
1 files changed, 1 insertions, 1 deletions
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):