Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
  • Loading branch information...
commit 1f5626d087358668980f944a1a59642a4a99e2d0 1 parent e6a6ce4
Karen Tracey authored May 17, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/howto/custom-template-tags.txt
2  docs/howto/custom-template-tags.txt
@@ -543,7 +543,7 @@ for example::
543 543
 
544 544
     class FormatTimeNode(template.Node):
545 545
         def __init__(self, date_to_be_formatted, format_string):
546  
-            self.date_to_be_formatted = Variable(date_to_be_formatted)
  546
+            self.date_to_be_formatted = template.Variable(date_to_be_formatted)
547 547
             self.format_string = format_string
548 548
 
549 549
         def render(self, context):

0 notes on commit 1f5626d

Please sign in to comment.
Something went wrong with that request. Please try again.