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:
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…
x
Reference in New Issue
Block a user