zkt25/z2/myproject/myapp/templates/student_list.html
2025-04-15 21:57:57 +02:00

17 lines
394 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Student List</title>
</head>
<body>
<h1>Student List</h1>
<ul>
{% for student in students %}
<li>{{ student.name }} - {{ student.age }} years old, studying {{ student.degree }} at {{ student.university }}</li>
{% endfor %}
</ul>
<br>
<a href="{% url 'student_form' %}">Add New Student</a>
</body>
</html>