We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a491dd3 commit b7fc750Copy full SHA for b7fc750
.metwork-framework/README.md
@@ -20,7 +20,7 @@ from jinja2 import Template, Environment
20
env = Environment(extensions=["jinja2_shell_extension.ShellExtension"])
21
22
# For the example, we use a template from a simple string
23
-template = env.from_string("{% raw %}{{ 'date --rfc-2822'|shell() }}{% endraw %}")
+template = env.from_string("{{ 'date --rfc-2822'|shell() }}")
24
result = template.render()
25
26
# example: result == "Fri, 31 Jan 2020 13:35:56 +0100"
0 commit comments