problem here is I want Student to be deleted everytime this delete button is pressed and refresh page/stay on current page, I am stuck with this problem, any solution?
<div class="content">
{% for student in students %}
<p class= 'my-2 text-center'>
{{student.name}} | {{student.bio}}
<button type="button" class="btn btn-danger">Delete</button>
</p>
{% endfor %}
</div>