Commit 92e5249a authored by Karen Tracey's avatar Karen Tracey
Browse files

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
parent 2cbec63f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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):