redhat-beyond / JobSeeker

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

🚀 Comment: Delete View #144

Closed paOmer closed 2 years ago

paOmer commented 2 years ago

Adding an option for a user to delete a comment. 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 #108