parameter passing

hello guys

I’m totally new to Django, I need to pass the id of my record through the url that will call the form that will delete the record, how can I do that?, and how do I get this id to pass to the deletion procedure?

{% for usuario in usuarios %}







{{usuario.nome}}
{{usuario.sobrenome}}
{{usuario.usuario}}
{{usuario.senha}}





{% endfor %}

	<div class="modal-content">
		<form action="{% url 'deletaUsuario' usuario.id %}" method="POST">
    {% csrf_token %}
			<div class="modal-header">						
				<h4 class="modal-title">Deletar Usuário</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">					
				<p>Tem certeza que deseja deletar esse registro?</p>         
				<p class="text-warning"><small>Essa ação não poderá ser desfeita.</small></p>
			</div>
			<div class="modal-footer">
				<input type="button" class="btn btn-default" data-dismiss="modal" value="Cancelar">
				<input type="submit" class="btn btn-danger" value="Deletar">
			</div>
		</form>
	</div>
</div>

You have identified yourself as being new to Django. Welcome!

Have you worked your way through the Official Django Tutorial? If so, then you’ve seen how to do this in the process of building the polls app. The same principles apply here as well.