1
0
mirror of https://github.com/django/django.git synced 2025-04-12 11:32:20 +00:00

[2.2.x] Fixed indentation in docs/topics/templates.txt.

Backport of 85ada61ac492ec6031db813463f4ea6820fee20b from master.
This commit is contained in:
Jonatan Alexis Anauati 2019-02-11 18:52:31 -03:00 committed by Tim Graham
parent 74428138cc
commit d2f942737c

View File

@ -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)