[Django]-NoReverseMatch Reverse for '' with arguments '()' and keyword arguments '' not found

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

Leave a comment