[2.2.x] Fixed indentation in docs/topics/templates.txt.
Backport of 85ada61ac4
from master.
This commit is contained in:
parent
74428138cc
commit
d2f942737c
|
@ -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