9👍
✅
The kwargs should pass the pk not id to match the url
edit_url = reverse('ventas:clientes_edit',kwargs={'pk':self.object.id})
also your url expects an int pk not string.
👤CJ4
Source:stackexchange.com