[Fixed]-Django – Delete an specific record

1👍

The problem is in your template change:

<a href="{% url 'delete' pk=registro.id %}">Delete</a>

To:

<a href="{% url 'delete' item.id %}">Delete</a>

Leave a comment