Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #11130 -- Corrected code example in custom template tag doc. Th…

…anks phyfus.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 92e5249a677c1c60d2a13ad0203716840fc71143 1 parent 2cbec63
Karen Tracey kmtracey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/howto/custom-template-tags.txt
2  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):
Please sign in to comment.
Something went wrong with that request. Please try again.