<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>User</title>
</head>
<body>
<h1>User</h1>
<table border="1">
<tr>
<td>ID</td>
<td>name</td>
<td>email</td>
<td>password</td>
<td>role_id</td>
</tr>
{% for user in users %}
<tr>
<td>{{ user.id }}</td>
<td>{{ user.name }}</td>
<td>{{ user.email }}</td>
<td>{{ user.password }}</td>
<td>{{ user.role_id }}</td>
</tr>
{% endfor %}
</table>
</body>
</html>
flask-template
最新推荐文章于 2020-09-02 10:14:56 发布