Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day07 jinja2模版文件TemplateSyntaxError: unexpected '}' #52

Open
nerdfooprogrammer opened this issue Aug 27, 2019 · 1 comment
Open

Comments

@nerdfooprogrammer
Copy link

照着test.html敲进去或者直接copy test.html一直报jinja2.exceptions.TemplateSyntaxError: unexpected '}'

我的test.html如下,看着模版文件写的语法没问题呀

<title>Test users - Awesome Python Webapp</title>

All users

{% for u in users %}

{{ u.name }} / {{ u.email }}

{% endfor %}
@nerdfooprogrammer
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant