Fixed indentation in docs/topics/templates.txt.
This commit is contained in:
parent
d6e5aad5c7
commit
85ada61ac4
|
@ -514,7 +514,7 @@ fictional ``foobar`` template library::
|
|||
|
||||
def from_string(self, template_code):
|
||||
try:
|
||||
return Template(self.engine.from_string(template_code))
|
||||
return Template(self.engine.from_string(template_code))
|
||||
except foobar.TemplateCompilationFailed as exc:
|
||||
raise TemplateSyntaxError(exc.args)
|
||||
|
||||
|
|
Loading…
Reference in New Issue