docs: def approve(self, request, *args, **kwargs):
          """ Approves the considered post and retirects the user to the success URL. """
          self.object = self.get_object()
          success_url = self.get_success_url()
          self.object.approved = True
          self.object.save()
          messages.success(self.request, self.success_message)
          return HttpResponseRedirect(success_url)