python+jinja2编写前端界面,发生Unexpected end of template问题,求解决!
ringa_lee
ringa_lee 2017-05-27 17:39:39
0
1
1211

<!DOCTYPE html >
<html>
<head>
<title>{{title}}</title>

<元名称=“viewport”内容=“宽度=设备宽度,initial-scale=1.0”>

<链接 rel="stylesheet" href="https://maxcdn.bootstrapcdn.c...integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<风格>
桌子{

雷雷

td{

雷雷

第{

雷雷

.父母{

雷雷

.奇数{

雷雷

.已选择{

雷雷


<身体>

雷雷 雷雷 雷雷 雷雷 雷雷 雷雷 雷雷 雷雷 雷雷

</html>
将这个接口模板渲染,提示这个错误
jinja2.exceptions.TemplateSyntaxError: Unexpected end of template。 Jinja 正在寻找以下标签:“endfor”或“else”。需要关闭的最里面的块是“for”。

ringa_lee
ringa_lee

ringa_lee

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!