Hello again
>
I have solved with this:

def canc_cli(request, idcliente):
    print('luca :'+str(idcliente))
    Clienti.objects.filter(pk=idcliente).delete()
    return redirect('tutti_clienti')

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a9e29eba-dd7c-4a12-bf48-f53b5d2cfa36%40googlegroups.com.

Reply via email to