Ticket #11130: patch.diff
File patch.diff, 592 bytes (added by , 15 years ago) |
---|
-
docs/howto/custom-template-tags.txt
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):