http://ccbv.co.uk/projects/Django/1.4/django.views.generic.edit/DeleteView/
As you can see, when you send a post request to DeleteView it execute the "delete" method of object. What o have to do is, send a post request for your view. In template you can put a submit input with value "confirm" and when user submit a form, the object will be delete. []'s Lucas Magnum. 2013/5/16 tony gair <[email protected]> > > I'm making a cbv with django braces > > I'm wanting to delete a record with a confirm form , does anyone know of > an exampple to show me how to do this > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

