Re: How to include delete function in UpdateView instead a DeleteView

2018-08-11 Thread Melvyn Sopacua
On vrijdag 10 augustus 2018 16:51:54 CEST zengkeat wrote: > I have a UpdateView for editing a post, but instead of making a DeleteView > for delete a post, i try to make UpdateView include a function to delete > the post. So ,i want to edit and delete a post in UpdateView. Is that > possible ? i t

How to include delete function in UpdateView instead a DeleteView

2018-08-10 Thread zengkeat
I have a UpdateView for editing a post, but instead of making a DeleteView for delete a post, i try to make UpdateView include a function to delete the post. So ,i want to edit and delete a post in UpdateView. Is that possible ? form_valid() missing 1 required positional argument: 'pk' views.

How to include delete function in UpdateView instead a DeleteView

2018-08-10 Thread zengkeat
down vofavori <https://stackoverflow.com/questions/51772361/how-to-include-delete-function-in-updateview-instead-a-deleteview#> I have a UpdateView for editing a post, but instead of making a DeleteView for delete a post, i try to make UpdateView include a function to delete the post.