000
讲解对象:简单输出姓名和状态
作者:融水公子 rsgz
代码内容:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>学员管理系统</title>
</head>
<body>
<ul>
{% for student in students%}
<li>{{student.name}}-{{student.get_status_display}}</li>
{% endfor%}
</ul>
</body>
</html>
000
联系客服