redhat-beyond / JobSeeker

https://github.com/redhat-beyond/JobSeeker
MIT License
2 stars 5 forks source link

🚀 Post: Delete View #105

Closed paOmer closed 2 years ago

paOmer commented 2 years ago

Adding an option for a user to delete a post. Only the author of the post could delete it. Used a DeleteView to create the desired view, edited the get_success_url function to return a success message with the new response, and to redirect the user to the feed.

Close #104

paOmer commented 2 years ago

@paOmer The PR looks good. A delete button should be added, you can add it in this PR or deal with it in another PR.

@DeanBiton Will do in a new PR

Yarboa commented 2 years ago

Please rebase push