Ticket #4202: 4202.patch

File 4202.patch, 585 bytes (added by Chris Beaven, 17 years ago)
  • docs/templates_python.txt

     
    866866            try:
    867867                actual_date = resolve_variable(self.date_to_be_formatted, context)
    868868                return actual_date.strftime(self.format_string)
    869             except VariableDoesNotExist:
     869            except template.VariableDoesNotExist:
    870870                return ''
    871871
    872872``resolve_variable`` will try to resolve ``blog_entry.date_updated`` and then
Back to Top